Skip to content
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

Fix sklearn deprecation warning for parameter squared of function mean_squared_error #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anton-golubkov
Copy link
Contributor

Calling mean_squared_error(..., squared=False) shows deprecation warning in sckit-learn 1.4:
Deprecated since version 1.4: squared is deprecated in 1.4 and will be removed in 1.6. Use [root_mean_squared_error] instead to calculate the root mean squared error.

This commit replaces mean_squared_error with root_mean_squared_error to fix this warning.

…n_squared_error

Replace mean_squared_error(..., squared=False) with root_mean_squared_error
@jrzkaminski
Copy link
Collaborator

A decent improvement, thank you, I'll merge it asap after tests pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants