Am 06.12.2012 15:06, schrieb Philipp Singer: > Hey! > > Is it possible to somehow get detailed prediction information inside > grid search or cross validation for individual folds or grids. > > So i.e., I want to know how my classes perform for each of my folds I am > doing in GridSearchCV. I can read the average scores using grid_scores_ > and this is fine, but I want to see information one step deeper. It > would be enough to get y_true and y_predicted for each fold. I don't see how you could achieve that currently without hacking the code. There is a ``grid_scores_`` attribute, which gives you the scores of the separate runs. And there is a PR that will allow what you want: https://github.com/scikit-learn/scikit-learn/pull/1381
I hope to get around to bring it to a good state on the weekend. The idea is that you can pass GridSearchCV an object that does the scoring. That could do some "detailed" analysis and let the GridSearchCV store it. Or even remember the runs itself? That seems a bit like abusing the system, though... ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
