On Thu, Jul 30, 2015 at 11:38 PM, Andreas Mueller <t3k...@gmail.com> wrote:

>  I am mostly concerned about API explosion.
> I take your point of PDF vs PMF.
> Maybe predict_proba(X, y) is better.
> Would you also support predict_proba(X, y) for classifiers (which would be
> predict_proba(X)[np.arange(len(y)), y]) ?
>

That could indeed be a good idea for consistency between classifiers and
regressors.
For Poisson regression, if y is not passed, i.e., if predict_proba(X,
y=None) is used, we could possibly use np.unique(y_train) by default.
This is obviously not possible for GPs, though.
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to