There is a typo in the sentence : " We can also show the mean score obtained by using the parameters best_params_
.", the parameter is best_score_
.
The text meant that the attribute best_score_
corresponds to the score of the model trained using best_params_
(the other models in the grid search are not saved).
But I agree the wording is not really clear, maybe we could say something similar to
We can also use the attribute
best_score_
to show the mean score obtained by using the parametersbest_params_
.
Thanks for your feedback!