[scikit-learn] check_estimator and score_samples method

Jason Rudy jcrudy at gmail.com
Thu Dec 13 16:06:41 EST 2018


Thanks, Joel.  From your response I assume that the use of a y argument to
score_samples is not a violation of the sklearn API, so I'll keep the
method and find a workaround for the check_estimator test as it's currently
written.  I'll comment on the issue as well.



On Mon, Dec 10, 2018 at 2:58 PM Joel Nothman <joel.nothman at gmail.com> wrote:

> We're trying to make check_estimator more flexible (
> https://github.com/scikit-learn/scikit-learn/pull/8022) but this is
> certainly not something we had considered yet. Perhaps suggest it there?
>
> Or for now we could just make the check pass if score_samples yields a
> TypeError with only X...
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20181213/3736b6ae/attachment.html>


More information about the scikit-learn mailing list