-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use of private API will break with scikit-learn 0.22 #616
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 because the new ghost of |
@jnothman Do you propose to make a utility function that will work across |
I don't think you should rely on scikit-learn adding that to public API
|
Thanks for the ping. I didn't realize but indeed, our renaming PRs will make it impossible to import any private module attribute since these are mangled. There might be a way to make |
Also ping @adrinjalali @thomasjpfan @glemaitre I think you guys should know too ;) |
Basically, for the latest version, we always required the latest scikit-learn so it will not be an issue. We will need to make some maintenance for the next version (tools using keras and tensorflow are also brittle). |
I suspect a few libraries would need to simply test import and in case of an error import from the old place. I don't think this is a major issue. |
This should be fixed ASAP before sklearn 0.22 release.... |
imblearn uses private scikit-learn API.
It will not be able to be imported in Scikit-learn version 0.22 due to sklearn.ensemble.base being renamed.
Ping @NicolasHug FYI
The text was updated successfully, but these errors were encountered: