Tuesday 15 January 2013

scikit learn - How to get best_estimator parameters from GridSearch using cross_val_score? -


I want to know the results of the grid search, when I am using nested cross verification with cross_val_score for convenience.

When you use cross_val_score, you get an array of digits. The estimator will be useful to get the appropriate estimator back or to get a summary of the selected parameters.

I know that you can do it yourself, but are just implementing cross-verification manually but it is more convenient if it is

In the science-kat-learning GridSearchCV class already cross checks intrinsically you get the GridSearchCV You can pass any of the creator's cv logic as .

No comments:

Post a Comment