-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG + 1] return_train_score deprecation #12241
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
[MRG + 1] return_train_score deprecation #12241
Conversation
+1 if it's not used anywhere else. |
This pull request introduces 3 alerts when merging ca6fd96 into 59b15c5 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
This pull request fixes 1 alert when merging 1d9b6bb into dfd009d - view on LGTM.com fixed alerts:
Comment posted by LGTM.com |
This pull request fixes 1 alert when merging 2042ded into dfd009d - view on LGTM.com fixed alerts:
Comment posted by LGTM.com |
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.
LGTM, thanks! A minor comment (line numbers are for this branch at its current version);
sklearn/model_selection/_validation.py:383
possibly removereturn_train_score=False
since it's the default.
done, thanks @rth :) |
This pull request fixes 1 alert when merging 9954544 into dfd009d - view on LGTM.com fixed alerts:
Comment posted by LGTM.com |
Merged, thanks for fixing this annoying warning :) |
well the warning came only if you accessed it, right? Though I guess if you convert the dict to a dataframe it's there every time :-/ Wanna review the other ones lol? |
Part of #11992.
Should we remove the
DeprecationDict
class as well?