-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
RidgeClassifierCV is not supporting properly multilabel-indicator #19858
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
This is only the case when |
Hello! I can try fixing this if nobody else wants to? |
You will also need to investigate a couple of things because I find it fishy that we are supposed to provide support for |
My bad |
take |
Ups sorry, I did a typo. I would like to take this issue as part of solving the consistency with |
No worries, I'll leave you to it! |
Our documentation state that
RidgeClassifierCV
is supportingmultilabel-indicator
.However, a call to
predict
, will output an array of (n_samples,) containingn_classes
instead of a matrix of(n_samples, n_classes). The method
score` will fail in this case.It looks like we should use a
LabelBinarizer
before to predict (I did not look at code thought).The text was updated successfully, but these errors were encountered: