The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation

被引:2917
作者
Chicco, Davide [1 ,2 ]
Jurman, Giuseppe [3 ]
机构
[1] Krembil Res Inst, Toronto, ON, Canada
[2] Peter Munk Cardiac Ctr, Toronto, ON, Canada
[3] Fdn Bruno Kessler, Trento, Italy
关键词
Matthews correlation coefficient; Binary classification; F-1; score; Confusion matrices; Machine learning; Biostatistics; Accuracy; Dataset imbalance; Genomics; STATISTICAL COMPARISONS; CLASS IMBALANCE; ROC CURVE; PERFORMANCE; AREA; CLASSIFIERS; ALGORITHMS; PRECISION; AGREEMENT; RECALL;
D O I
10.1186/s12864-019-6413-7
中图分类号
Q81 [生物工程学(生物技术)]; Q93 [微生物学];
学科分类号
071005 ; 0836 ; 090102 ; 100705 ;
摘要
BackgroundTo evaluate binary classifications and their confusion matrices, scientific researchers can employ several statistical rates, accordingly to the goal of the experiment they are investigating. Despite being a crucial issue in machine learning, no widespread consensus has been reached on a unified elective chosen measure yet. Accuracy and F-1 score computed on confusion matrices have been (and still are) among the most popular adopted metrics in binary classification tasks. However, these statistical measures can dangerously show overoptimistic inflated results, especially on imbalanced datasets.ResultsThe Matthews correlation coefficient (MCC), instead, is a more reliable statistical rate which produces a high score only if the prediction obtained good results in all of the four confusion matrix categories (true positives, false negatives, true negatives, and false positives), proportionally both to the size of positive elements and the size of negative elements in the dataset.ConclusionsIn this article, we show how MCC produces a more informative and truthful score in evaluating binary classifications than accuracy and F-1 score, by first explaining the mathematical properties, and then the asset of MCC in six synthetic use cases and in a real genomics scenario. We believe that the Matthews correlation coefficient should be preferred to accuracy and F-1 score in evaluating binary classification tasks by all scientific communities.
引用
收藏
页数:13
相关论文
共 110 条
[21]  
[Anonymous], 2018, PACKAGE PLSGENOMICS
[22]  
[Anonymous], 2018, INT J ENG ADV TECHNO
[23]  
[Anonymous], CHIP SEQ PREDICTING
[24]  
[Anonymous], LECT NOTES COMPUTER
[25]  
[Anonymous], TECHNICAL REPORT
[26]   Assessing the accuracy of prediction algorithms for classification: an overview [J].
Baldi, P ;
Brunak, S ;
Chauvin, Y ;
Andersen, CAF ;
Nielsen, H .
BIOINFORMATICS, 2000, 16 (05) :412-424
[27]   Multivariate comparison of classification performance measures [J].
Ballabio, Davide ;
Grisoni, Francesca ;
Todeschini, Roberto .
CHEMOMETRICS AND INTELLIGENT LABORATORY SYSTEMS, 2018, 174 :33-44
[28]   Strategies for learning in class imbalance problems [J].
Barandela, R ;
Sánchez, JS ;
García, V ;
Rangel, E .
PATTERN RECOGNITION, 2003, 36 (03) :849-851
[29]  
Bekkar M., 2013, J. Inf. Eng. Apl, V3, P27, DOI DOI 10.5121/IJDKP.2013.3402
[30]   Comparison of classification accuracy using Cohen's Weighted Kappa [J].
Ben-David, Arie .
EXPERT SYSTEMS WITH APPLICATIONS, 2008, 34 (02) :825-832