Skip to content
Snippets Groups Projects
Commit 55959ed8 authored by Andreas Mueller's avatar Andreas Mueller
Browse files

COSMIT don't use deprecated attributes in tutorial.

parent 36418a98
No related branches found
No related tags found
No related merge requests found
...@@ -145,9 +145,9 @@ estimator during the construction and exposes an estimator API:: ...@@ -145,9 +145,9 @@ estimator during the construction and exposes an estimator API::
... n_jobs=-1) ... n_jobs=-1)
>>> clf.fit(X_digits[:1000], y_digits[:1000]) # doctest: +ELLIPSIS >>> clf.fit(X_digits[:1000], y_digits[:1000]) # doctest: +ELLIPSIS
GridSearchCV(cv=None,... GridSearchCV(cv=None,...
>>> clf.best_score >>> clf.best_score_
0.98699897502292733 0.98699897502292733
>>> clf.best_estimator.gamma >>> clf.best_estimator_.gamma
9.9999999999999995e-07 9.9999999999999995e-07
>>> # Prediction performance on test set is not as good as on train set >>> # Prediction performance on test set is not as good as on train set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment