Skip to content

Add cuml.metrics.median_absolute_error#7229

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.10from
jcrist:add-median-absolute-error
Sep 18, 2025
Merged

Add cuml.metrics.median_absolute_error#7229
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.10from
jcrist:add-median-absolute-error

Conversation

@jcrist
Copy link
Copy Markdown
Member

@jcrist jcrist commented Sep 16, 2025

This adds a new median_absolute_error metric, modeled after the sklearn metric of the same name.

This was motivated by cuml.ensemble.RandomForestRegressor supporting this as a builtin metric. We've deprecated that functionality (see #7170); median_absolute_error was the only metric it supported that didn't already exist in cuml.metrics.

This adds a new `median_absolute_error` metric, modeled after the
sklearn metric of the same name.

This was motivated by `cuml.ensemble.RandomForestRegressor` supporting
this as a builtin metric. We've deprecated that functionality, but that
was the only metric it supported that didn't already exist in
`cuml.metrics`.
@jcrist jcrist requested a review from a team as a code owner September 16, 2025 21:36
@jcrist jcrist requested a review from csadorf September 16, 2025 21:36
@jcrist jcrist self-assigned this Sep 16, 2025
@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Sep 16, 2025
@jcrist jcrist added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Cython / Python Cython or Python issue and removed Cython / Python Cython or Python issue labels Sep 16, 2025
@csadorf
Copy link
Copy Markdown
Contributor

csadorf commented Sep 17, 2025

Blocked by #7230 .

@jcrist
Copy link
Copy Markdown
Member Author

jcrist commented Sep 18, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 5a657b6 into rapidsai:branch-25.10 Sep 18, 2025
101 checks passed
@jcrist jcrist deleted the add-median-absolute-error branch September 18, 2025 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants