code: def test_Classifications(self, algo):
      iris = datasets.load_iris()
      df = pdml.ModelFrame(iris)
  
      mod1 = getattr(df.kernel_approximation, algo)()
      mod2 = getattr(ka, algo)()
  
      df.fit(mod1)
      mod2.fit(iris.data)
  
      result = df.transform(mod1)
      expected = mod2.transform(iris.data)
  
      self.assertIsInstance(result, pdml.ModelFrame)
      self.assert_numpy_array_almost_equal(result.data.values, expected)
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_kernel_approximation.py
imports: import pytest
  import sklearn.datasets
  import sklearn.kernel_approximation
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 2 for calling the TestKernelApproximation obj's underlying member method code with example usage: obj.test_Classifications(algo) without return types