docstr: ...Test that SVRG step_type parameter behaves correctly
          
docstr_tok: ["...","Test","that","SVRG","step_type","parameter","behaves","correctly"]
code: def test_step_type_setting(self):
      """...Test that SVRG step_type parameter behaves correctly"""
      svrg = SVRG()
  
      coeffs0 = weights_sparse_gauss(20, nnz=5, dtype=self.dtype)
      interc0 = None
  
      X, y = SimuLogReg(
          coeffs0,
          interc0,
          n_samples=3000,
          verbose=False,
          seed=123,
          dtype=self.dtype,
      ).simulate()
  
      model = ModelLogReg().fit(X, y)
      svrg.set_model(model)
      self.assertEqual(svrg.step_type, "fixed")
      self.assertEqual(
          svrg._solver.get_step_type(), SVRG_StepType_Fixed
      )
  
      svrg = SVRG(step_type="bb")
      svrg.set_model(model)
      self.assertEqual(svrg.step_type, "bb")
      self.assertEqual(
          svrg._solver.get_step_type(), SVRG_StepType_BarzilaiBorwein
      )
  
      svrg.step_type = "fixed"
      self.assertEqual(svrg.step_type, "fixed")
      self.assertEqual(
          svrg._solver.get_step_type(), SVRG_StepType_Fixed
      )
  
      svrg.step_type = "bb"
      self.assertEqual(svrg.step_type, "bb")
      self.assertEqual(
          svrg._solver.get_step_type(), SVRG_StepType_BarzilaiBorwein
      )
  
imports: import unittest
  from warnings import catch_warnings, simplefilter
  from itertools import product
  import numpy
  from scipy.linalg.special_matrices import toeplitz
  from scipy.sparse import csr_matrix
  from tick.linear_model import ModelLinReg, ModelLogReg, SimuLogReg
  from tick.prox import ProxL1, ProxL1w, ProxTV, ProxEquality, ProxElasticNet
  from tick.solver import SVRG
  from tick.solver.tests import TestSolver
  from tick.solver.build.solver import SVRG_VarianceReductionMethod_Last
  from tick.solver.build.solver import SVRG_VarianceReductionMethod_Average
  from tick.solver.build.solver import SVRG_VarianceReductionMethod_Random
  from tick.solver.build.solver import SVRG_StepType_Fixed
  from tick.solver.build.solver import SVRG_StepType_BarzilaiBorwein
  from tick.simulation import weights_sparse_gauss
label_desc: Use image node_id 6 for calling the SVRGTest obj's underlying member method code with example usage: obj.test_step_type_setting() without return types