hacarus / spm-image

Sparse modeling and Compressive sensing in Python
105 stars 29 forks source link

Replace joblib dependency from `sklearn.externals` to `joblib` directly #70

Closed tksmd closed 4 years ago

tksmd commented 5 years ago

Issue Description

Since joblib will be removed in sklearn 0.23 as the following message shows, replace joblib dependency from sklearn.externals to joblib directly.

/home/travis/virtualenv/python3.6.7/lib/python3.6/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+.

References

sutkss commented 4 years ago

Fixed in #89