Cargando…

The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation

Evaluating binary classifications is a pivotal task in statistics and machine learning, because it can influence decisions in multiple areas, including for example prognosis or therapies of patients in critical conditions. The scientific community has not agreed on a general-purpose statistical indi...

Descripción completa

Detalles Bibliográficos
Autores principales: Chicco, Davide, Tötsch, Niklas, Jurman, Giuseppe
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7863449/
https://www.ncbi.nlm.nih.gov/pubmed/33541410
http://dx.doi.org/10.1186/s13040-021-00244-z
_version_ 1783647496627552256
author Chicco, Davide
Tötsch, Niklas
Jurman, Giuseppe
author_facet Chicco, Davide
Tötsch, Niklas
Jurman, Giuseppe
author_sort Chicco, Davide
collection PubMed
description Evaluating binary classifications is a pivotal task in statistics and machine learning, because it can influence decisions in multiple areas, including for example prognosis or therapies of patients in critical conditions. The scientific community has not agreed on a general-purpose statistical indicator for evaluating two-class confusion matrices (having true positives, true negatives, false positives, and false negatives) yet, even if advantages of the Matthews correlation coefficient (MCC) over accuracy and F(1) score have already been shown.In this manuscript, we reaffirm that MCC is a robust metric that summarizes the classifier performance in a single value, if positive and negative cases are of equal importance. We compare MCC to other metrics which value positive and negative cases equally: balanced accuracy (BA), bookmaker informedness (BM), and markedness (MK). We explain the mathematical relationships between MCC and these indicators, then show some use cases and a bioinformatics scenario where these metrics disagree and where MCC generates a more informative response.Additionally, we describe three exceptions where BM can be more appropriate: analyzing classifications where dataset prevalence is unrepresentative, comparing classifiers on different datasets, and assessing the random guessing level of a classifier. Except in these cases, we believe that MCC is the most informative among the single metrics discussed, and suggest it as standard measure for scientists of all fields. A Matthews correlation coefficient close to +1, in fact, means having high values for all the other confusion matrix metrics. The same cannot be said for balanced accuracy, markedness, bookmaker informedness, accuracy and F(1) score. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at (10.1186/s13040-021-00244-z).
format Online
Article
Text
id pubmed-7863449
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-78634492021-02-05 The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation Chicco, Davide Tötsch, Niklas Jurman, Giuseppe BioData Min Methodology Evaluating binary classifications is a pivotal task in statistics and machine learning, because it can influence decisions in multiple areas, including for example prognosis or therapies of patients in critical conditions. The scientific community has not agreed on a general-purpose statistical indicator for evaluating two-class confusion matrices (having true positives, true negatives, false positives, and false negatives) yet, even if advantages of the Matthews correlation coefficient (MCC) over accuracy and F(1) score have already been shown.In this manuscript, we reaffirm that MCC is a robust metric that summarizes the classifier performance in a single value, if positive and negative cases are of equal importance. We compare MCC to other metrics which value positive and negative cases equally: balanced accuracy (BA), bookmaker informedness (BM), and markedness (MK). We explain the mathematical relationships between MCC and these indicators, then show some use cases and a bioinformatics scenario where these metrics disagree and where MCC generates a more informative response.Additionally, we describe three exceptions where BM can be more appropriate: analyzing classifications where dataset prevalence is unrepresentative, comparing classifiers on different datasets, and assessing the random guessing level of a classifier. Except in these cases, we believe that MCC is the most informative among the single metrics discussed, and suggest it as standard measure for scientists of all fields. A Matthews correlation coefficient close to +1, in fact, means having high values for all the other confusion matrix metrics. The same cannot be said for balanced accuracy, markedness, bookmaker informedness, accuracy and F(1) score. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at (10.1186/s13040-021-00244-z). BioMed Central 2021-02-04 /pmc/articles/PMC7863449/ /pubmed/33541410 http://dx.doi.org/10.1186/s13040-021-00244-z Text en © The Author(s) 2021 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
spellingShingle Methodology
Chicco, Davide
Tötsch, Niklas
Jurman, Giuseppe
The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title_full The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title_fullStr The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title_full_unstemmed The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title_short The Matthews correlation coefficient (MCC) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
title_sort matthews correlation coefficient (mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation
topic Methodology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7863449/
https://www.ncbi.nlm.nih.gov/pubmed/33541410
http://dx.doi.org/10.1186/s13040-021-00244-z
work_keys_str_mv AT chiccodavide thematthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation
AT totschniklas thematthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation
AT jurmangiuseppe thematthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation
AT chiccodavide matthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation
AT totschniklas matthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation
AT jurmangiuseppe matthewscorrelationcoefficientmccismorereliablethanbalancedaccuracybookmakerinformednessandmarkednessintwoclassconfusionmatrixevaluation