code: def test_Regresions(self, algo):
      diabetes = datasets.load_diabetes()
      df = pdml.ModelFrame(diabetes)
  
      mod1 = getattr(df.linear_model, algo)()
      mod2 = getattr(lm, algo)()
  
      df.fit(mod1)
      mod2.fit(diabetes.data, diabetes.target)
  
      result = df.predict(mod1)
      expected = mod2.predict(diabetes.data)
  
      self.assertIsInstance(result, pdml.ModelSeries)
      self.assert_numpy_array_almost_equal(result.values, expected)
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_linear_model.py
imports: import pytest
  import sklearn.datasets
  import sklearn.linear_model
  import sklearn.preprocessing
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 7 for calling the TestLinearModel obj's underlying member method code with example usage: obj.test_Regresions(algo) without return types