Repository navigation
FIX MultiOutput* when sub-estimator does not accept metadata - #28240
Conversation
|
In It looks incorrect then because we should not pass |
|
Would we want to enforce this contract?
I think it would be very odd for |
|
Oh, I see why scikit-learn/sklearn/utils/_metadata_requests.py Line 1058 in 548fc6f we only raise if anything is passed but is not either requested, or is a |
|
I think there should also be tests for any meta-estimator, like |
I think those are tested in the common metadata routing tests @StefanieSenger |
|
@adrinjalali |
|
Yes, but I think those are already tested in the |
|
cc @OmarManzoor @thomasjpfan for a quick review maybe? This is for the coming patch release. |
OmarManzoor
left a comment
There was a problem hiding this comment.
LGTM. Thanks @adrinjalali
Fixes #28239
And adds a common test to check the same issue with all other meta-estimators in the common test file.
cc @glemaitre @OmarManzoor