docstr: ...Test CoxRegression basic settings
          
docstr_tok: ["...","Test","CoxRegression","basic","settings"]
code: def test_CoxRegression_settings(self):
      """...Test CoxRegression basic settings"""
      # solver
      solver_class_map = {"gd": GD, "agd": AGD}
      for solver in self.solvers:
          learner = CoxRegression(solver=solver)
          solver_class = solver_class_map[solver]
          self.assertTrue(isinstance(learner._solver_obj, solver_class))
  
      msg = "^``solver`` must be one of agd, gd, got wrong_name$"
      with self.assertRaisesRegex(ValueError, msg):
          CoxRegression(solver="wrong_name")
  
      # prox
      prox_class_map = {
          "none": ProxZero,
          "l1": ProxL1,
          "l2": ProxL2Sq,
          "elasticnet": ProxElasticNet,
          "tv": ProxTV,
          "binarsity": ProxBinarsity,
      }
  
      for penalty in self.penalties:
          if penalty == "binarsity":
              learner = CoxRegression(
                  penalty=penalty, blocks_start=[0], blocks_length=[1]
              )
          else:
              learner = CoxRegression(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):
          CoxRegression(penalty="wrong_name")
  
file_path: tick/tick/survival/tests/cox_regression_test.py
imports: import unittest
  import numpy
  from tick.base.inference import InferenceTest
  from tick.survival import SimuCoxReg, CoxRegression
  from tick.simulation import weights_sparse_gauss
  from tick.preprocessing.features_binarizer import FeaturesBinarizer
  from tick.prox import ProxZero, ProxL1, ProxL2Sq, ProxElasticNet, ProxTV, ProxBinarsity
  from tick.solver import GD, AGD
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_CoxRegression_settings() without return types