Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MRG] ENH add macro-averaged mean squared error#1134

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Ab2nour wants to merge1 commit intoscikit-learn-contrib:master
base:master
Choose a base branch
Loading
fromAb2nour:ENH/add-macro-averaged-mean-squared-error

Conversation

Ab2nour
Copy link

@Ab2nourAb2nour commentedApr 20, 2025
edited
Loading

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 introducedmacro_averaged_mean_absolute_error.

Changes:

  • implementedmacro_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 myfork)

Any other comments?

A comment in the issue suggested adding asquared=True parameter.

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


Let me know if further changes are needed.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

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

[8]ページ先頭

©2009-2025 Movatter.jp