Cargando…
The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification
Binary classification is a common task for which machine learning and computational statistics are used, and the area under the receiver operating characteristic curve (ROC AUC) has become the common standard metric to evaluate binary classifications in most scientific fields. The ROC curve has true...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9938573/ https://www.ncbi.nlm.nih.gov/pubmed/36800973 http://dx.doi.org/10.1186/s13040-023-00322-4 |
_version_ | 1784890660733583360 |
---|---|
author | Chicco, Davide Jurman, Giuseppe |
author_facet | Chicco, Davide Jurman, Giuseppe |
author_sort | Chicco, Davide |
collection | PubMed |
description | Binary classification is a common task for which machine learning and computational statistics are used, and the area under the receiver operating characteristic curve (ROC AUC) has become the common standard metric to evaluate binary classifications in most scientific fields. The ROC curve has true positive rate (also called sensitivity or recall) on the y axis and false positive rate on the x axis, and the ROC AUC can range from 0 (worst result) to 1 (perfect result). The ROC AUC, however, has several flaws and drawbacks. This score is generated including predictions that obtained insufficient sensitivity and specificity, and moreover it does not say anything about positive predictive value (also known as precision) nor negative predictive value (NPV) obtained by the classifier, therefore potentially generating inflated overoptimistic results. Since it is common to include ROC AUC alone without precision and negative predictive value, a researcher might erroneously conclude that their classification was successful. Furthermore, a given point in the ROC space does not identify a single confusion matrix nor a group of matrices sharing the same MCC value. Indeed, a given (sensitivity, specificity) pair can cover a broad MCC range, which casts doubts on the reliability of ROC AUC as a performance measure. In contrast, the Matthews correlation coefficient (MCC) generates a high score in its [Formula: see text] interval only if the classifier scored a high value for all the four basic rates of the confusion matrix: sensitivity, specificity, precision, and negative predictive value. A high MCC (for example, MCC [Formula: see text] 0.9), moreover, always corresponds to a high ROC AUC, and not vice versa. In this short study, we explain why the Matthews correlation coefficient should replace the ROC AUC as standard statistic in all the scientific studies involving a binary classification, in all scientific fields. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s13040-023-00322-4. |
format | Online Article Text |
id | pubmed-9938573 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-99385732023-02-19 The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification Chicco, Davide Jurman, Giuseppe BioData Min Methodology Binary classification is a common task for which machine learning and computational statistics are used, and the area under the receiver operating characteristic curve (ROC AUC) has become the common standard metric to evaluate binary classifications in most scientific fields. The ROC curve has true positive rate (also called sensitivity or recall) on the y axis and false positive rate on the x axis, and the ROC AUC can range from 0 (worst result) to 1 (perfect result). The ROC AUC, however, has several flaws and drawbacks. This score is generated including predictions that obtained insufficient sensitivity and specificity, and moreover it does not say anything about positive predictive value (also known as precision) nor negative predictive value (NPV) obtained by the classifier, therefore potentially generating inflated overoptimistic results. Since it is common to include ROC AUC alone without precision and negative predictive value, a researcher might erroneously conclude that their classification was successful. Furthermore, a given point in the ROC space does not identify a single confusion matrix nor a group of matrices sharing the same MCC value. Indeed, a given (sensitivity, specificity) pair can cover a broad MCC range, which casts doubts on the reliability of ROC AUC as a performance measure. In contrast, the Matthews correlation coefficient (MCC) generates a high score in its [Formula: see text] interval only if the classifier scored a high value for all the four basic rates of the confusion matrix: sensitivity, specificity, precision, and negative predictive value. A high MCC (for example, MCC [Formula: see text] 0.9), moreover, always corresponds to a high ROC AUC, and not vice versa. In this short study, we explain why the Matthews correlation coefficient should replace the ROC AUC as standard statistic in all the scientific studies involving a binary classification, in all scientific fields. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s13040-023-00322-4. BioMed Central 2023-02-17 /pmc/articles/PMC9938573/ /pubmed/36800973 http://dx.doi.org/10.1186/s13040-023-00322-4 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open AccessThis 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/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://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 Jurman, Giuseppe The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title | The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title_full | The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title_fullStr | The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title_full_unstemmed | The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title_short | The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification |
title_sort | matthews correlation coefficient (mcc) should replace the roc auc as the standard metric for assessing binary classification |
topic | Methodology |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9938573/ https://www.ncbi.nlm.nih.gov/pubmed/36800973 http://dx.doi.org/10.1186/s13040-023-00322-4 |
work_keys_str_mv | AT chiccodavide thematthewscorrelationcoefficientmccshouldreplacetherocaucasthestandardmetricforassessingbinaryclassification AT jurmangiuseppe thematthewscorrelationcoefficientmccshouldreplacetherocaucasthestandardmetricforassessingbinaryclassification AT chiccodavide matthewscorrelationcoefficientmccshouldreplacetherocaucasthestandardmetricforassessingbinaryclassification AT jurmangiuseppe matthewscorrelationcoefficientmccshouldreplacetherocaucasthestandardmetricforassessingbinaryclassification |