Say I have some arbitrary score function my_func() that I want GridSearchCV
to optimize. Let's say I'm doing classification and not regression.
GridSearchCV will use a classifier's predict() function to make
predictions, and pass those predictions into the my_func, along with the
true values. But what if my_func needs the output of predict_proba to
arrive at its score? Is there any way I can get GridSearchCV use do
predict_proba with my_func?
(In case you're interested, in my case I'm trying to use top decile lift
with logistic regression).
------------------------------------------------------------------------------
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