Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

trying to run adam.py but getting DeprecationWarning #46

Open
idoroiengel opened this issue Jun 16, 2019 · 2 comments
Open

trying to run adam.py but getting DeprecationWarning #46

idoroiengel opened this issue Jun 16, 2019 · 2 comments

Comments

@idoroiengel
Copy link
Contributor

I'm trying to run the adam.py but I keep getting DeprecationWarning

home/idoroiengel/PycharmProjects/adam_qas/adam_qas/venv/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+.
  warnings.warn(msg, category=DeprecationWarning)
/home/idoroiengel/PycharmProjects/adam_qas/adam_qas/venv/lib/python3.6/site-packages/sklearn/base.py:306: UserWarning: Trying to unpickle estimator LinearSVC from version 0.19.1 when using version 0.21.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)

output of: $ python -m qas.sys_info

System: Linux
Platform: #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019
Python: 3.6.8
Elasticsearch: (7, 0, 2)
Old Index Mapping. Manually reindex the index to persist your data.

 -- Old Index Mapping. Manually reindex the index to persist your data.--

I tried to change scikit-learn requirements version, but it does not cooperate. It says the current one is the largest version number.

@idoroiengel
Copy link
Contributor Author

@5hirish Can you look into it when you have the time? Am I missing something?

@5hirish
Copy link
Owner

5hirish commented Jun 18, 2019

Yes, will do it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants