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

Issue with MCC metric computation #16329

Open
adallak opened this issue Jul 12, 2024 · 2 comments
Open

Issue with MCC metric computation #16329

adallak opened this issue Jul 12, 2024 · 2 comments
Assignees
Labels

Comments

@adallak
Copy link

adallak commented Jul 12, 2024

I am reading the documentation for the MCC metric available at https://docs.h2o.ai/h2o/latest-stable/h2o-py/docs/metrics.html and it says that "The absolute MCC (a value between 0 and 1, 0 being totally dissimilar, 1 being identical)." However, MCC is a value between -1 and 1. The value MCC = 0 means that the algorithm behaves like a random guess, and MCC = -1 means that the algorithm predicts labels completely wrong. I tested and it seems H2O always reports the absolute value of MCC, which in my opinion is incorrect. Please verify that the reported MCC is correct.
Thank you.

@adallak adallak added the bug label Jul 12, 2024
@wendycwong
Copy link
Contributor

@adallak : You are correct. Here is a link to the definition: https://www.voxco.com/blog/matthewss-correlation-coefficient-definition-formula-and-advantages/

@maurever
Copy link
Contributor

Hi @adallak. Our documentation shows a mismatch between MCC and Absolute MCC metrics. We need to clarify the API and the doc as well. Thanks for catching this!

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

No branches or pull requests

3 participants