Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Add macro-averaged mean squared error #846

Open
warnbergg opened this issue Jul 6, 2021 · 2 comments
Open

[ENH] Add macro-averaged mean squared error #846

warnbergg opened this issue Jul 6, 2021 · 2 comments

Comments

@warnbergg
Copy link

warnbergg commented Jul 6, 2021

Describe the solution you'd like

In #780 the macro-averaged mean absolute error was proposed as a metric to the library. Using the same rationale as for that feature, I suggest that also the macro-averaged mean squared error (MAMSE) is added to the library. That way we penalize errors that are further from the ground truth more harshly.

Is this feature something that could be of interest to the greater public?

@hayesall
Copy link
Member

hayesall commented Jul 9, 2021

Maybe add a squared=True parameter?

That should keep things fairly close with how it's handled elsewhere, e.g. sklearn.metrics.mean_squared_error

@warnbergg
Copy link
Author

@hayesall Yes, that is maybe a better option. I'll create a PR for that!

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

No branches or pull requests

3 participants