It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.15.4
TensorFlow/Keras version: 1.14.0/2.3.1
Python version: 3.7.0
Describe the problem
In the project setup.py requirements there is a dependency on 'scikit-learn>=0.19.1', but in the module anago.preprocessing there is a dependency on joblib from sklearn.externals which is deprecated after scikit-learn version 0.23.
File "/usr/lib/python3.7/site-packages/anago/__init__.py", line 3, in <module>
from anago.wrapper import Sequence
File "/usr/lib/python3.7/site-packages/anago/wrapper.py", line 7, in <module>
from anago.preprocessing import IndexTransformer
File "/usr/lib/python3.7/site-packages/anago/preprocessing.py", line 9, in <module>
from sklearn.externals import joblib
ImportError: cannot import name 'joblib' from 'sklearn.externals' (/usr/lib/python3.7/site-packages/sklearn/externals/__init__.py)
If you open a GitHub issue, here is our policy:
System information
Describe the problem
In the project
setup.py
requirements there is a dependency on'scikit-learn>=0.19.1'
, but in the moduleanago.preprocessing
there is a dependency onjoblib
fromsklearn.externals
which is deprecated afterscikit-learn
version 0.23.Source code / logs
https://github.com/Hironsan/anago/blob/80efcfe9dc6781afaa1a349c2beb6f8df95a5f47/anago/preprocessing.py#L10