docstr: ...Test LinearRegression basic settings
          
docstr_tok: ["...","Test","LinearRegression","basic","settings"]
code: def test_LinearRegression_settings(self):
      """...Test LinearRegression basic settings"""
      # solver
      from tick.solver import AGD, GD, BFGS, SGD, SVRG, SDCA
  
      solvers = {
          "AGD": AGD,
          "BFGS": BFGS,
          "GD": GD,
          "SGD": SGD,
          "SVRG": SVRG,
          "SDCA": SDCA,
      }
      solver_class_map = LinearRegression._solvers
      for solver in LinearRegression._solvers.keys():
          learner = LinearRegression(
              solver=solver, **Test.specific_solver_kwargs(solver)
          )
          solver_class = solvers[solver_class_map[solver]]
          self.assertTrue(isinstance(learner._solver_obj, solver_class))
  
      msg = "^``solver`` must be one of agd, gd, svrg, got wrong_name$"
      with self.assertRaisesRegex(ValueError, msg):
          LinearRegression(solver="wrong_name")
  
      # prox
      prox_class_map = LinearRegression._penalties
      for penalty in LinearRegression._penalties.keys():
          if penalty == "binarsity":
              learner = LinearRegression(
                  penalty=penalty, blocks_start=[0], blocks_length=[1]
              )
          else:
              learner = LinearRegression(penalty=penalty)
          prox_class = prox_class_map[penalty]
          self.assertTrue(isinstance(learner._prox_obj, prox_class))
  
      msg = (
          "^``penalty`` must be one of binarsity, elasticnet, l1, l2, "
          "none, tv, got wrong_name$"
      )
      with self.assertRaisesRegex(ValueError, msg):
          LinearRegression(penalty="wrong_name")
  
imports: import itertools
  import unittest
  from itertools import product
  import numpy
  from scipy.linalg import norm
  from tick.base.inference import InferenceTest
  from tick.linear_model import SimuLinReg, LinearRegression
  from tick.simulation import weights_sparse_gauss
label_desc: Use image node_id 6 for calling the Test obj's underlying member method code with example usage: obj.test_LinearRegression_settings() without return types