code: def test_svrg_regression(bin_train_data):
      X_bin, y_bin = bin_train_data
      reg = SVRGRegressor(eta=1e-3)
      reg.fit(X_bin, y_bin)
      y_pred = np.sign(reg.predict(X_bin))
      assert np.mean(y_bin == y_pred) == 1.0
  
file_path: lightning/lightning/impl/tests/test_svrg.py
imports: import numpy
  from lightning.classification import SVRGClassifier
  from lightning.regression import SVRGRegressor
label_desc: Use image node_id 3 for calling a global function with example usage: test_svrg_regression(bin_train_data) without return types