docstr: ...Compare SDCA solution with SVRG solution
          
docstr_tok: ["...","Compare","SDCA","solution","with","SVRG","solution"]
code: def compare_solver_sdca(self):
      """...Compare SDCA solution with SVRG solution"""
      np.random.seed(12)
      n_samples = SolverTest.n_samples
      n_features = SolverTest.n_features
  
      for fit_intercept in [True, False]:
          y, X, coeffs0, interc0 = TestSolver.generate_logistic_data(
              n_features, n_samples, dtype=self.dtype
          )
  
          model = ModelLogReg(fit_intercept=fit_intercept).fit(X, y)
          ratio = 0.5
          l_enet = 1e-2
  
          # SDCA "elastic-net" formulation is different from elastic-net
          # implementation
          l_l2_sdca = ratio * l_enet
          l_l1_sdca = (1 - ratio) * l_enet
          sdca = SDCA(
              l_l2sq=l_l2_sdca,
              max_iter=100,
              verbose=False,
              tol=0,
              seed=SolverTest.sto_seed,
          ).set_model(model)
          prox_l1 = ProxL1(l_l1_sdca).astype(self.dtype)
          sdca.set_prox(prox_l1)
          coeffs_sdca = sdca.solve()
  
          # Compare with SVRG
          svrg = SVRG(
              max_iter=100,
              verbose=False,
              tol=0,
              seed=SolverTest.sto_seed,
          ).set_model(model)
          prox_enet = ProxElasticNet(l_enet, ratio).astype(self.dtype)
          svrg.set_prox(prox_enet)
          coeffs_svrg = svrg.solve(step=0.1)
  
          np.testing.assert_allclose(coeffs_sdca, coeffs_svrg)
  
imports: import unittest
  import numpy
  from tick.linear_model import ModelLogReg, ModelPoisReg, SimuPoisReg
  from tick.prox import ProxL1, ProxElasticNet, ProxZero, ProxL2Sq
  from tick.solver import SDCA, SVRG
  from tick.solver.tests import TestSolver
label_desc: Use image node_id 2 for calling the SDCATest obj's underlying member method code with example usage: obj.compare_solver_sdca() without return types