median_absolute_error
fails test_regression_sample_weight_invariance
#30781
Labels
8000
median_absolute_error
fails test_regression_sample_weight_invariance
#30781
Describe the bug
sample_weights
was added tomedian_absolute_error
in 0.24 butmedian_absolute_error
was not removed fromMETRICS_WITHOUT_SAMPLE_WEIGHT
.(Noticed while trying to fix an unrelated problem in
median_absolute_error
)Steps/Code to Reproduce
On main, remove
median_absolute_error
fromMETRICS_WITHOUT_SAMPLE_WEIGHT
and runtest_regression_sample_weight_invariance
- in particular the check that sample weights of one's is the same assample_weight=None
failsExpected Results
No error
Actual Results
Versions
The text was updated successfully, but these errors were encountered: