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
MLkNN breaks when sklearn >= 1.0 #250
Comments
pull requests are welcome 🎉 |
The issue is the following row:
It has to be changed to:
Note that this has been fixed in https://github.com/scikit-multilearn-ng/scikit-multilearn-ng/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, dear colleagues, thank you for your work.
This is a bug report.
With scikit-learn==0.24.0, this code (
X_train
is a dense 2D numpy array,y_train
is a sparse scipy matrix with the same number of rows) works:With scikit-learn==1.0 and scikit-learn==1.1.3, however, I get:
Thanks.
The text was updated successfully, but these errors were encountered: