class_docstr: Test the RFECV visualizer
class_docstr_tok: ["Test","the","RFECV","visualizer"]
docstr: Test image closeness on a classification dataset with an SVM
docstr_tok: ["Test","image","closeness","on","a","classification","dataset","with","an","SVM"]
code: def test_rfecv_classification(self):
      """
      Test image closeness on a classification dataset with an SVM
      """
      cv = ShuffleSplit(3, random_state=21)
      oz = RFECV(SVC(kernel="linear", C=1), cv=cv)
      oz.fit(self.dataset.X, self.dataset.y)
      oz.finalize()
  
      self.assert_images_similar(oz, remove_legend=True)
  
imports: import sys
  import pytest
  import numpy
  import numpy.testing
  from unittest.mock import patch
  from tests.fixtures import Dataset
  from tests.base import VisualTestCase
  from yellowbrick.model_selection.rfecv import *
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn.svm import SVC
  from sklearn.datasets import make_classification
  from sklearn.model_selection import ShuffleSplit
  from sklearn.model_selection import StratifiedKFold
  from sklearn.linear_model import LogisticRegression
  from sklearn.ensemble import RandomForestClassifier
label_desc: Use image node_id 2 for calling the TestRFECV obj's underlying member method code with example usage: obj.test_rfecv_classification() without return types