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
MNT Update deprecation message in RegressorMixin.score to tell users how to avoid the warning #13477
MNT Update deprecation message in RegressorMixin.score to tell users how to avoid the warning #13477
Conversation
…how to avoid the warning
Actually another simple way to avoid the warning is to use |
sklearn/base.py
Outdated
either call `metrics.r2_score` directly or make a custom scorer with | ||
`metrics.make_scorer`. | ||
`multioutput.MultiOutputRegressor`). To specify the default value | ||
manually and avoid the warning,, please either call `metrics.r2_score` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: ,,
As setting |
OK, I'll turn to a more detailed version for this annoying issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of text, but okay.
Trivial, merging. |
1 similar comment
Trivial, merging. |
…how to avoid the warning (scikit-learn#13477)
…l users how to avoid the warning (scikit-learn#13477)" This reverts commit a11c28e.
…l users how to avoid the warning (scikit-learn#13477)" This reverts commit a11c28e.
…how to avoid the warning (scikit-learn#13477)
In response to @amueller 's comment #13157 (comment)