We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a0985 commit 4d31e55Copy full SHA for 4d31e55
sklearn/model_selection/_search.py
@@ -818,8 +818,8 @@ class GridSearchCV(BaseSearchCV):
818
>>> from sklearn.model_selection import GridSearchCV
819
>>> iris = datasets.load_iris()
820
>>> parameters = {'kernel':('linear', 'rbf'), 'C':[1, 10]}
821
- >>> svr = svm.SVC()
822
- >>> clf = GridSearchCV(svr, parameters)
+ >>> svc = svm.SVC()
+ >>> clf = GridSearchCV(svc, parameters)
823
>>> clf.fit(iris.data, iris.target)
824
... # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
825
GridSearchCV(cv=None, error_score=...,
0 commit comments