-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Fatal exception - DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. #2140
Comments
It's not you, who should "import this functionality directly from joblib", it's the skopt (scikit-optimize) library, used by freqtrade for hyperoptimization, which should use joblib directly instead of importing it from underlying sklearn... They have a number of issues on this: Exception you obtain is not related to the DeprecationWarning imho. |
The problem you're having is a syntax error in your configuration: probably line 2 (or 3) ...
|
Hey, I have the same problem when I try to do Hyperopt, I have this |
it's a warning that will currently appear for everyone until sklearn fixes it. However, it's a warning, nothing that's breaking your process - so if you have a problem - this is not the cause of it. |
Because it appears between almost every epoch result, I thought it was slowing down the process somehow. |
Like this and then the hyperopt shut down The above exception was the direct cause of the following exception: Traceback (most recent call last): |
check out #2271 for this problem (it has nothing to do with the outputs though). |
C:\ProgramData\Anaconda3\envs\rasa\lib\site-packages\sklearn\externals\joblib_init_.py:15: FutureWarning: 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+. |
😉 |
What is the solutuion of this error? The error is: |
it is no error but a warning (it's also not present in any current verision anymore - so i suspect you're using an old version of freqtrade). |
How can i resolve the warning... |
It is a warning - just ignore it. |
clf.fit = hog_features(X,y) and for this error...what i do |
@Shivabhatt show me versions of scikit-learn, scikit-optimize and freqtrade you are using |
Please don't highjack old issues, but open new issues if you're having problems instead. Highjacking issues will notify everyone who contributed in this issue. Thanks. |
Advised to "import this functionality directly from joblib, which can be installed with: pip install joblib." However, I have tried this and still hit with the same error code.
The text was updated successfully, but these errors were encountered: