class_docstr: Test the AlphaSelection visualizer
class_docstr_tok: ["Test","the","AlphaSelection","visualizer"]
docstr: Integration test with image similarity comparison
docstr_tok: ["Integration","test","with","image","similarity","comparison"]
code: def test_similar_image(self):
      """
      Integration test with image similarity comparison
      """
  
      visualizer = AlphaSelection(LassoCV(random_state=0))
  
      X, y = make_regression(random_state=0)
      visualizer.fit(X, y)
      visualizer.finalize()
  
      self.assert_images_similar(visualizer)
  
imports: import sys
  import pytest
  import numpy
  from tests.base import VisualTestCase
  from numpy.testing import assert_array_equal
  from yellowbrick.datasets import load_energy, load_concrete
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.regressor.alphas import AlphaSelection, alphas
  from yellowbrick.regressor.alphas import ManualAlphaSelection, manual_alphas
  from sklearn.svm import SVR, SVC
  from sklearn.cluster import KMeans
  from sklearn.decomposition import PCA
  from sklearn.impute import SimpleImputer
  from sklearn.pipeline import Pipeline
  from sklearn.datasets import make_regression
  from sklearn.linear_model import Ridge, RidgeCV
  from sklearn.linear_model import Lasso, LassoCV
  from sklearn.linear_model import LassoLars, LassoLarsCV
  from sklearn.linear_model import ElasticNet, ElasticNetCV
label_desc: Use image node_id 1 for calling the TestAlphaSelection obj's underlying member method code with example usage: obj.test_similar_image() without return types