-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Add scoring metric info in cross_val_score #13445
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
Conversation
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.
Thanks for the pull request
Similar to :func:`cross_validate` | ||
but only a single metric is permitted. | ||
|
||
If None, the estimator's default scorer (if available) is used. |
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.
Just say "the estimator's score method"
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.
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.
I'm happy with it being consistent... I'd be more happy with them all being changed :) maybe in a subsequent PR?
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.
@jnothman a separate PR is best as it hits files other than _validation.py
as well, such as scorer.py
in sklearn/metrics/ and _search.py
in the same folder. I can get started on that PR if you can merge this one as it may conflict with this file.
Thanks! |
Reference Issues/PRs
Fix #13424 by adding scoring info in
cross_val_score
What does this implement/fix? Explain your changes.
Adds scoring info in
cross_val_score
docs and referencescross_validate