Skip to content
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

DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23 #869

Closed
neffmallon opened this issue May 22, 2019 · 1 comment

Comments

@neffmallon
Copy link

On import, scikit-learn throws a deprecation warning, suggesting that joblib should be installed directly.

Python37\lib\site-packages\sklearn\externals\joblib_init_.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.

Joblib should be added to requirements.txt and TPOT should be refactored to refer to the joblib package where appropriate.

@weixuanfu
Copy link
Contributor

weixuanfu commented May 22, 2019

The issue is fixed in PR #867 and it was merged to development branch. It will be fixed into next version of TPOT.
BTW, because scikit-learn 0.21 only supports python 3, we may drop python 2 supports in near future due to too many api changes in the future version of scikit-learn.

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

No branches or pull requests

2 participants