The error message could indeed be improved but this is a pathological
case anyway.

I would rather make the grid search fault tolerant instead of making
all the scikit-learn estimators accept invalid inputs (such as empty
dataset).


--
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to