class_docstr: Learner for all models that are inferred with a `tick.solver`
  and a `tick.prox`
  Not intended for end-users, but for development only.
  It should be sklearn-learn compliant
  
  Parameters
  ----------
  C : `float`, default=1e3
      Level of penalization
  
  penalty : 'none', 'l1', 'l2', 'elasticnet', 'tv', 'binarsity', default='l2'
      The penalization to use. Default 'l2', namely is ridge penalization.
  
  solver : 'gd', 'agd', 'bfgs', 'svrg', 'sdca'
      The name of the solver to use
  
  warm_start : `bool`, default=False
      If true, learning will start from the last reached solution
  
  step : `float`, default=None
      Initial step size used for learning. Used in 'gd', 'agd', 'sgd'
      and 'svrg' solvers
  
  tol : `float`, default=1e-5
      The tolerance of the solver (iterations stop when the stopping
      criterion is below it). By default the solver does ``max_iter``
      iterations
  
  max_iter : `int`, default=100
      Maximum number of iterations of the solver
  
  verbose : `bool`, default=True
      If `True`, we verbose things, otherwise the solver does not
      print anything (but records information in history anyway)
  
  print_every : `int`, default=10
      Print history information when ``n_iter`` (iteration number) is
      a multiple of ``print_every``
  
  record_every : `int`, default=10
      Record history information when ``n_iter`` (iteration number) is
      a multiple of ``record_every``
  
  Other Parameters
  ----------------
  sdca_ridge_strength : `float`, default=1e-3
      It controls the strength of the additional ridge penalization. Used in
      'sdca' solver
  
  elastic_net_ratio : `float`, default=0.95
      Ratio of elastic net mixing parameter with 0 <= ratio <= 1.
      For ratio = 0 this is ridge (L2 squared) regularization
      For ratio = 1 this is lasso (L1) regularization
      For 0 < ratio < 1, the regularization is a linear combination
      of L1 and L2.
      Used in 'elasticnet' penalty
  
  random_state : int seed, RandomState instance, or None (default)
      The seed that will be used by stochastic solvers. Used in 'sgd',
      'svrg', and 'sdca' solvers
  
  blocks_start : `numpy.array`, shape=(n_features,), default=None
      The indices of the first column of each binarized feature blocks. It
      corresponds to the ``feature_indices`` property of the
      ``FeaturesBinarizer`` preprocessing.
      Used in 'binarsity' penalty
  
  blocks_length : `numpy.array`, shape=(n_features,), default=None
      The length of each binarized feature blocks. It corresponds to the
      ``n_values`` property of the ``FeaturesBinarizer`` preprocessing.
      Used in 'binarsity' penalty
class_docstr_tok: ["Learner","for","all","models","that","are","inferred","with","a","`","tick.solver","`","and","a","`","tick.prox","`","Not","intended","for","end-users",",","but","for","development","only",".","It","should","be","sklearn-learn","compliant","Parameters","--","--","--","--","--","C",":","`","float","`",",","default=1e3","Level","of","penalization","penalty",":","'none","'",",","'l1","'",",","'l2","'",",","'elasticnet","'",",","'tv","'",",","'binarsity","'",",","default='l2'","The","penalization","to","use",".","Default","'l2","'",",","namely","is","ridge","penalization",".","solver",":","'gd","'",",","'agd","'",",","'bfgs","'",",","'svrg","'",",","'sdca'","The","name","of","the","solver","to","use","warm_start",":","`","bool","`",",","default=False","If","true",",","learning","will","start","from","the","last","reached","solution","step",":","`","float","`",",","default=None","Initial","step","size","used","for","learning",".","Used","in","'gd","'",",","'agd","'",",","'sgd'","and","'svrg","'","solvers","tol",":","`","float","`",",","default=1e-5","The","tolerance","of","the","solver","(","iterations","stop","when","the","stopping","criterion","is","below","it",")",".","By","default","the","solver","does","``","max_iter","``","iterations","max_iter",":","`","int","`",",","default=100","Maximum","number","of","iterations","of","the","solver","verbose",":","`","bool","`",",","default=True","If","`","True","`",",","we","verbose","things",",","otherwise","the","solver","does","not","print","anything","(","but","records","information","in","history","anyway",")","print_every",":","`","int","`",",","default=10","Print","history","information","when","``","n_iter","``","(","iteration","number",")","is","a","multiple","of","``","print_every","``","record_every",":","`","int","`",",","default=10","Record","history","information","when","``","n_iter","``","(","iteration","number",")","is","a","multiple","of","``","record_every","``","Other","Parameters","--","--","--","--","--","--","--","--","sdca_ridge_strength",":","`","float","`",",","default=1e-3","It","controls","the","strength","of","the","additional","ridge","penalization",".","Used","in","'sdca","'","solver","elastic_net_ratio",":","`","float","`",",","default=0.95","Ratio","of","elastic","net","mixing","parameter","with","0","<","=","ratio","<","=","1",".","For","ratio","=","0","this","is","ridge","(","L2","squared",")","regularization","For","ratio","=","1","this","is","lasso","(","L1",")","regularization","For","0","<","ratio","<","1",",","the","regularization","is","a","linear","combination","of","L1","and","L2",".","Used","in","'elasticnet","'","penalty","random_state",":","int","seed",",","RandomState","instance",",","or","None","(","default",")","The","seed","that","will","be","used","by","stochastic","solvers",".","Used","in","'sgd","'",",","'svrg","'",",","and","'sdca","'","solvers","blocks_start",":","`","numpy.array","`",",","shape=","(","n_features",",",")",",","default=None","The","indices","of","the","first","column","of","each","binarized","feature","blocks",".","It","corresponds","to","the","``","feature_indices","``","property","of","the","``","FeaturesBinarizer","``","preprocessing",".","Used","in","'binarsity","'","penalty","blocks_length",":","`","numpy.array","`",",","shape=","(","n_features",",",")",",","default=None","The","length","of","each","binarized","feature","blocks",".","It","corresponds","to","the","``","n_values","``","property","of","the","``","FeaturesBinarizer","``","preprocessing",".","Used","in","'binarsity","'","penalty"]
code: def sdca_ridge_strength(self):
      if self.solver == "sdca":
          return self._solver_obj._solver.get_l_l2sq()
      else:
          return None
  
imports: from abc import ABC, abstractmethod
  from warnings import warn
  import numpy
  from tick.base import Base
  from tick.prox import ProxZero, ProxL1, ProxL2Sq, ProxElasticNet, ProxTV, ProxBinarsity
  from tick.preprocessing.utils import safe_array
label_desc: Use image node_id 29 for calling the LearnerOptim obj's underlying member method code with example usage: obj.sdca_ridge_strength() and returns: self, None