class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Image similarity test for classification dataset (discrete y)
docstr_tok: ["Image","similarity","test","for","classification","dataset","(","discrete","y",")"]
code: def test_manifold_classification_3d(self):
      """
      Image similarity test for classification dataset (discrete y)
      """
      X, y = self.discrete
  
      oz = Manifold(
          manifold="spectral",
          target="discrete",
          n_neighbors=5,
          random_state=108,
          projection=3,
      )
  
      assert not hasattr(oz, "classes_")
  
      oz.fit_transform(X, y)
  
      assert hasattr(oz, "classes_")
      assert not hasattr(oz, "range_")
      self.assert_images_similar(oz)
  
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 13 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_classification_3d() without return types