class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Assert that transform raises error when MDS, TSNE or Spectral Embedding algorithms are used.
docstr_tok: ["Assert","that","transform","raises","error","when","MDS",",","TSNE","or","Spectral","Embedding","algorithms","are","used","."]
code: def test_manifold_assert_no_transform(self, mock_fit, manifolds):
      """
      Assert that transform raises error when MDS, TSNE or Spectral Embedding algorithms are used.
      """
      X, _ = self.s_curves
      manifold = Manifold(
          manifold=manifolds, target="auto", n_neighbors=10
      )
      mock_fit(X)
      msg = "requires data to be simultaneously fit and transformed"
      with pytest.raises(ModelError, match=msg):
          manifold.transform(X)
  
imports: import pytest
  from yellowbrick.features.manifold import *
  from yellowbrick.utils.types import is_estimator
  from yellowbrick.features.base import TargetType
  from yellowbrick.exceptions import YellowbrickValueError, ModelError, NotFitted
  from sklearn.pipeline import Pipeline
  from sklearn.decomposition import PCA
  from sklearn.datasets import make_blobs
  from sklearn.datasets import make_s_curve
  from sklearn.manifold import LocallyLinearEmbedding
  from unittest.mock import patch
  from tests.base import VisualTestCase
label_desc: Use image node_id 11 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_assert_no_transform(mock_fit, manifolds) without return types