On 07/23/2014 06:21 PM, Pagliari, Roberto wrote:

Hi Michael,

Thanks for the clarifications.

Is there a way to make prediction, once grid search is done? Right now I'm getting the error

'GridSearchCV' object has no attribute 'best_estimator_'

And I've seen other people reporting the same error. If not possible, is there a minimal example of k-fold cross-validation with prediction?


All instances of these errors that I have seen were because people didn't call "fit".
Can you give your sample code?

Also: the mean of the score over the folds is used as selection criterion.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to