Skip to content

Conversation

Ab2nour
Copy link

@Ab2nour Ab2nour commented Apr 20, 2025

Reference Issue

Closes #846

What does this implement/fix? Explain your changes.

New metric for ordinal classification: macro_averaged_mean_squared_error, following the same logic as the previously introduced macro_averaged_mean_absolute_error.

Changes:

  • implemented macro_averaged_mean_squared_error
  • added new metric entry, reference and link in the documentation
  • exported function in __init__.py
  • added minimal test case & registered test public function
  • CI passing (preview in my fork)

Any other comments?

A comment in the issue suggested adding a squared=True parameter.

As of scikit-learn 1.4 (see scikit-learn/scikit-learn#26734), this is now outdated: the new function is standalone.


Let me know if further changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENH] Add macro-averaged mean squared error
1 participant