code: def test_LassoCV(self, criterion):
      diabetes = datasets.load_diabetes()
      X = diabetes.data
      y = diabetes.target
  
      X = pp.normalize(X)
  
      df = pdml.ModelFrame(diabetes)
      df.data = df.data.pp.normalize()
  
      mod1 = lm.LassoLarsIC(criterion=criterion)
      mod1.fit(X, y)
  
      mod2 = df.lm.LassoLarsIC(criterion=criterion)
      df.fit(mod2)
      self.assertAlmostEqual(mod1.alpha_, mod2.alpha_)
  
      expected = mod1.predict(X)
      predicted = df.predict(mod2)
      self.assertIsInstance(predicted, pdml.ModelSeries)
      self.assert_numpy_array_almost_equal(predicted.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 9 for calling the TestLinearModel obj's underlying member method code with example usage: obj.test_LassoCV(criterion) without return types