Skip to content

Fixing imports for sklearn 1.2.1 #987

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

Conversation

c-w-feldmann
Copy link

Fixes #978

What does this implement/fix? Explain your changes.

Updated imports in imblearn.ensamble._forest.py:
ln 12: from joblib import Parallel ->from sklearn.utils.parallel import Parallel
ln 27: from sklearn.utils.fixes import delayed -> from sklearn.utils.parallel import delayed

bumped minimum required sklearn version in imblearn/_min_dependencies.py:
ln 7: to "1.2.1"

@c-w-feldmann
Copy link
Author

I might need some help with specifying the dependencies.

@glemaitre
Copy link
Member

Closing this one since I included the fix in the compatibility PR with scikit-learn 1.3.
Thanks @c-w-feldmann to have work on that.

@glemaitre glemaitre closed this Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FutureWarning and UserWarning with scikit-learn>=1.2.1
2 participants