-
Notifications
You must be signed in to change notification settings - Fork 874
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
[Question] deprecated mean_squared_error #2551
Comments
Hi @quant12345, Since Python 3.8 is reaching its end of support at the end of the month, we are planning on doing one last release for it. Once this is done, we will be able to focus on things such as fixing some warning/deprecation messages, remove the version capping on numpy and simplify the typing imports/synthax. If you want to contribute to darts, I would recommend checking the issues labeled with the |
Considering that after scikit-learn-1.3.2 the next version is 1.4.0, it seems to me that it would be more appropriate to try to switch to scikit-learn-1.4.0 (if possible). Of course, I can do scikit-learn version processing and depending on the version choose |
Hi @quant12345, Since there is no cap on scikit-learn's version as you can see here, you are actually free to use another version. I just checked the environment that I am using to work with darts and it's actually relying on scikit-learn 1.4.1. You can safely ignore the warning, we will make sure to solve it before the release of scikit-learn 1.6 (it's not a priority yet, we already have similar messages for pandas that we started to address). |
I looked in scikit-learn 1.4.0 supports Python versions 3.9 to 3.12. I locally replaced
Thank @madtoinou for the detailed answers, I understand how to do this PR. I'll try to study the good first issue again. Most of what I found concerned statistics, which I don't know that well. I fixed everything I could in the summer :-) |
Hello everyone!
I would like to correct the following warning: FutureWarning:
'squared' is deprecated in version 1.4 and will be removed in 1.6. To calculate the root mean squared error, use the function'root_mean_squared_error'.
In the tests build (3.8, all) the version is scikit-learn-1.3.2. 'root_mean_squared_error' appeared in scikit-learn-1.4.
Question: Do you plan to upgrade scikit-learn to 1.4(in builds 3.8)?
Code processing depends on this.
The text was updated successfully, but these errors were encountered: