-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Pipeline score broken for unsupervised algorithms #4063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Because explicit is better than implicit. You're right, this is broken, but On 8 January 2015 at 11:30, pmaher86 notifications@github.com wrote:
|
(And it's not really unsupervised algorithms that are the problem so much On 8 January 2015 at 11:50, Joel Nothman joel.nothman@gmail.com wrote:
|
I'm surprised, pretty sure I added a regression test on that one :-/ |
|
PCA already has that btw.... it seems to be a shortcoming of KMeans.... smells like a missing common test. Testing that score can take |
See #4064. |
The score method for pipeline assigns
y=None
and always passes it to the score method of the final estimator, but some estimators (for instance KMeans) take only X. Is there a reason to usey=None
instead of*args
?Reproducible by
The text was updated successfully, but these errors were encountered: