code: def test_spectral_embedding(self):
      N = 10
      m = np.random.random_integers(50, 200, size=(N, N))
      m = (m + m.T) / 2
  
      df = pdml.ModelFrame(m)
      self.assert_numpy_array_almost_equal(df.data.values, m)
  
      result = df.manifold.spectral_embedding(
          random_state=self.random_state
      )
      expected = manifold.spectral_embedding(
          m, random_state=self.random_state
      )
  
      self.assertIsInstance(result, pdml.ModelFrame)
      tm.assert_index_equal(result.index, df.index)
      # signs can be inversed
      self.assert_numpy_array_almost_equal(
          np.abs(result.data.values), np.abs(expected)
      )
  
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 3 for calling the TestManifold obj's underlying member method code with example usage: obj.test_spectral_embedding() without return types