-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
FIX make sure _PassthroughScorer works with meta-estimators #31898
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 make sure _PassthroughScorer works with meta-estimators #31898
Conversation
StefanieSenger
left a comment
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 fix and the explanations yesterday, @adrinjalali!
I have looked through the PR and left some suggestions.
Co-authored-by: Stefanie Senger <[email protected]>
Co-authored-by: Stefanie Senger <[email protected]>
|
@OmarManzoor @antoinebaker wanna have a look? Some other PRs depend on this. |
OmarManzoor
left a comment
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 @adrinjalali
…earn#31898) Co-authored-by: Stefanie Senger <[email protected]>
Fixes #30937
The issue was that
_PassthroughScorertries to be smart with metadata-routing info it stores, which only works with simply consumers and not meta estimators (or rather, works when given aMetadataRequestbut notMetadataRouter).This fixes the issue, and improves the implementation in
RidgeCVwhich was arguably not perfect.cc @StefanieSenger @ogrisel @antoinebaker