class_docstr: Test the ValidationCurve visualizer
class_docstr_tok: ["Test","the","ValidationCurve","visualizer"]
docstr: Test validation curve quick method with image closeness on SVC
docstr_tok: ["Test","validation","curve","quick","method","with","image","closeness","on","SVC"]
code: def test_quick_method(self):
      """
      Test validation curve quick method with image closeness on SVC
      """
      X, y = self.classification
  
      pr = np.logspace(-6, -1, 3)
      cv = ShuffleSplit(n_splits=5, test_size=0.2, random_state=321)
      viz = validation_curve(
          SVC(),
          X,
          y,
          logx=True,
          param_name="gamma",
          param_range=pr,
          cv=cv,
          show=False,
      )
  
      self.assert_images_similar(viz)
  
imports: import sys
  import pytest
  import numpy
  from unittest.mock import patch
  from tests.base import VisualTestCase
  from sklearn.svm import SVC
  from sklearn.naive_bayes import BernoulliNB
  from sklearn.tree import DecisionTreeRegressor
  from sklearn.preprocessing import OneHotEncoder
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.model_selection import ShuffleSplit, StratifiedKFold
  from yellowbrick.datasets import load_mushroom
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.model_selection.validation_curve import *
label_desc: Use image node_id 4 for calling the TestValidationCurve obj's underlying member method code with example usage: obj.test_quick_method() without return types