class_docstr: Test the ValidationCurve visualizer
class_docstr_tok: ["Test","the","ValidationCurve","visualizer"]
docstr: Test supplying an alternate CV methodology and train_sizes
docstr_tok: ["Test","supplying","an","alternate","CV","methodology","and","train_sizes"]
code: def test_reshape_scores(self, mock_draw):
      """
      Test supplying an alternate CV methodology and train_sizes
      """
      X, y = self.classification
  
      pr = np.logspace(-6, -1, 3)
      cv = ShuffleSplit(n_splits=5, test_size=0.2, random_state=14)
      oz = ValidationCurve(
          SVC(), param_name="gamma", param_range=pr, cv=cv
      )
      oz.fit(X, y)
  
      assert oz.train_scores_.shape == (3, 5)
      assert oz.test_scores_.shape == (3, 5)
  
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 7 for calling the TestValidationCurve obj's underlying member method code with example usage: obj.test_reshape_scores(mock_draw) without return types