code: def test_Classifications(self):
      iris = datasets.load_iris()
      df = pdml.ModelFrame(iris)
  
      models = ["AffinityPropagation", "MeanShift"]
      for model in models:
          mod1 = getattr(df.cluster, model)()
          mod2 = getattr(cluster, model)()
  
          df.fit(mod1)
          mod2.fit(iris.data)
  
          result = df.predict(mod1)
          expected = mod2.predict(iris.data)
  
          self.assertIsInstance(result, pdml.ModelSeries)
          self.assert_numpy_array_almost_equal(result.values, expected)
  
imports: import pytest
  import numpy
  import sklearn.datasets
  import sklearn.cluster
  import sklearn.preprocessing
  import sklearn.metrics
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 12 for calling the TestCluster obj's underlying member method code with example usage: obj.test_Classifications() without return types