-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
FEA SLEP006: Metadata routing for learning_curve
#28975
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
FEA SLEP006: Metadata routing for learning_curve
#28975
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.
only nits, and merge conflicts, otherwise nice one!
sample_weight="fit_sample_weight", metadata="fit_metadata" | ||
) | ||
|
||
if func is learning_curve: |
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 would move this to a separate test instead of adding to this test.
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.
Done.
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.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.
@adrinjalali Thanks for your review. I've made that little change.
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.
@OmarManzoor @glemaitre could you have a look?
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 @StefanieSenger
learning_curve
learning_curve
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
This PR adds metadata routing to
learning_curve
by principally following the same pattern as incross_validate
.Reference Issues/PRs
Towards #22893