From 55959ed879fa99147426ae756258a78a057d6dbe Mon Sep 17 00:00:00 2001 From: Andreas Mueller <amueller@ais.uni-bonn.de> Date: Mon, 23 Apr 2012 21:16:13 +0200 Subject: [PATCH] COSMIT don't use deprecated attributes in tutorial. --- doc/tutorial/statistical_inference/model_selection.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/statistical_inference/model_selection.rst b/doc/tutorial/statistical_inference/model_selection.rst index 2175b16693..16513bd991 100644 --- a/doc/tutorial/statistical_inference/model_selection.rst +++ b/doc/tutorial/statistical_inference/model_selection.rst @@ -145,9 +145,9 @@ estimator during the construction and exposes an estimator API:: ... n_jobs=-1) >>> clf.fit(X_digits[:1000], y_digits[:1000]) # doctest: +ELLIPSIS GridSearchCV(cv=None,... - >>> clf.best_score + >>> clf.best_score_ 0.98699897502292733 - >>> clf.best_estimator.gamma + >>> clf.best_estimator_.gamma 9.9999999999999995e-07 >>> # Prediction performance on test set is not as good as on train set -- GitLab