docstr: ...Test LogisticRegression setting of sdca_ridge_strength parameter
  of solver
docstr_tok: ["...","Test","LogisticRegression","setting","of","sdca_ridge_strength","parameter","of","solver"]
code: def test_LogisticRegression_solver_sdca_ridge_strength(self):
      """...Test LogisticRegression setting of sdca_ridge_strength parameter
      of solver
      """
      for solver in solvers:
          if solver == "sdca":
              learner = LogisticRegression(
                  solver=solver,
                  sdca_ridge_strength=self.float_1,
                  **Test.specific_solver_kwargs(solver),
              )
              self.assertEqual(
                  learner.sdca_ridge_strength, self.float_1
              )
              self.assertEqual(
                  learner._solver_obj._solver.get_l_l2sq(), self.float_1
              )
  
              learner.sdca_ridge_strength = self.float_2
              self.assertEqual(
                  learner.sdca_ridge_strength, self.float_2
              )
              self.assertEqual(
                  learner._solver_obj._solver.get_l_l2sq(), self.float_2
              )
          else:
              msg = (
                  '^Solver "%s" has no sdca_ridge_strength attribute$'
                  % solver
              )
              with self.assertWarnsRegex(RuntimeWarning, msg):
                  LogisticRegression(
                      solver=solver,
                      sdca_ridge_strength=1e-2,
                      **Test.specific_solver_kwargs(solver),
                  )
  
              learner = LogisticRegression(
                  solver=solver, **Test.specific_solver_kwargs(solver)
              )
              with self.assertWarnsRegex(RuntimeWarning, msg):
                  learner.sdca_ridge_strength = self.float_1
  
imports: import itertools
  import unittest
  import numpy
  from sklearn.metrics import roc_auc_score
  from tick.base.inference import InferenceTest
  from tick.linear_model import SimuLogReg, LogisticRegression
  from tick.simulation import weights_sparse_gauss
  from tick.preprocessing.features_binarizer import FeaturesBinarizer
  from tick.prox import ProxZero, ProxL1, ProxL2Sq, ProxElasticNet, ProxTV, ProxBinarsity
label_desc: Use image node_id 13 for calling the Test obj's underlying member method code with example usage: obj.test_LogisticRegression_solver_sdca_ridge_strength() without return types