code: def test_TSNE(self, algo):
      digits = datasets.load_digits()
      df = pdml.ModelFrame(digits)
  
      mod1 = getattr(df.manifold, algo)(
          n_components=2, random_state=self.random_state
      )
      mod2 = getattr(manifold, algo)(
          n_components=2, random_state=self.random_state
      )
  
      # np.random.seed(1)
      result = df.fit_transform(mod1)
      # np.random.seed(1)
      expected = mod2.fit_transform(digits.data)
  
      self.assertIsInstance(result, pdml.ModelFrame)
      tm.assert_index_equal(result.index, df.index)
      self.assert_numpy_array_almost_equal(
          result.data.shape, expected.shape
      )
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_manifold.py
imports: import pytest
  import numpy
  import sklearn.datasets
  import sklearn.manifold
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 6 for calling the TestManifold obj's underlying member method code with example usage: obj.test_TSNE(algo) without return types