Challenges in the real world use of classification accuracy metrics: From recall and precision to the Matthews correlation coefficient

被引:47
作者
Foody, Giles M. [1 ]
机构
[1] Univ Nottingham, Sch Geog, Nottingham, Notts, England
关键词
DIAGNOSTIC-TESTS; CONDITIONAL DEPENDENCE; PREVALENCE; DISEASE; AREA; SPECIFICITY; SENSITIVITY; PERFORMANCE; STATISTICS; ISSUES;
D O I
10.1371/journal.pone.0291908
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
The accuracy of a classification is fundamental to its interpretation, use and ultimately decision making. Unfortunately, the apparent accuracy assessed can differ greatly from the true accuracy. Mis-estimation of classification accuracy metrics and associated mis-interpretations are often due to variations in prevalence and the use of an imperfect reference standard. The fundamental issues underlying the problems associated with variations in prevalence and reference standard quality are revisited here for binary classifications with particular attention focused on the use of the Matthews correlation coefficient (MCC). A key attribute claimed of the MCC is that a high value can only be attained when the classification performed well on both classes in a binary classification. However, it is shown here that the apparent magnitude of a set of popular accuracy metrics used in fields such as computer science medicine and environmental science (Recall, Precision, Specificity, Negative Predictive Value, J, F1, likelihood ratios and MCC) and one key attribute (prevalence) were all influenced greatly by variations in prevalence and use of an imperfect reference standard. Simulations using realistic values for data quality in applications such as remote sensing showed each metric varied over the range of possible prevalence and at differing levels of reference standard quality. The direction and magnitude of accuracy metric mis-estimation were a function of prevalence and the size and nature of the imperfections in the reference standard. It was evident that the apparent MCC could be substantially under- or over-estimated. Additionally, a high apparent MCC arose from an unquestionably poor classification. As with some other metrics of accuracy, the utility of the MCC may be overstated and apparent values need to be interpreted with caution. Apparent accuracy and prevalence values can be mis-leading and calls for the issues to be recognised and addressed should be heeded.
引用
收藏
页数:27
相关论文
共 71 条
[1]   Automatic Removal of Imperfections and Change Detection for Accurate 3D Urban Cartography by Classification and Incremental Updating [J].
Aijazi, Ahmad Kamal ;
Checchin, Paul ;
Trassoudaine, Laurent .
REMOTE SENSING, 2013, 5 (08) :3701-3728
[2]   Sample size calculations for comparative studies of medical tests for detecting presence of disease [J].
Alonzo, TA ;
Pepe, MS ;
Moskowitz, CS .
STATISTICS IN MEDICINE, 2002, 21 (06) :835-852
[3]   Routine abdominal magnetic resonance imaging can determine psoas muscle area in paediatric Crohn's disease and correlates with bioelectrical impedance spectroscopy measures of lean mass [J].
Ashton, James J. ;
Peiris, Dilane ;
Green, Zachary ;
Johnson, Mark J. ;
Marino, Luise V. ;
Grif, Mark ;
Beattie, R. Mark .
CLINICAL NUTRITION ESPEN, 2021, 42 :233-238
[4]   Improved differentiation between hypo/hypertelorism and normal fetuses based on MRI using automatic ocular biometric measurements, ocular ratios, and machine learning multi-parametric classification [J].
Avisdris, Netanell ;
Sourani, Daphna Link ;
Ben-Sira, Liat ;
Joskowicz, Leo ;
Malinger, Gustavo ;
Yagel, Simcha ;
Miller, Elka ;
Ben Bashat, Dafna .
EUROPEAN RADIOLOGY, 2023, 33 (01) :54-63
[5]  
Balayla J, 2021, Arxiv, DOI [arXiv:2112.13289, 10.48550/arXiv.2112.13289, DOI 10.48550/ARXIV.2112.13289]
[6]   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
[7]   Optimal classifier for imbalanced data using Matthews Correlation Coefficient metric [J].
Boughorbel, Sabri ;
Jarray, Fethi ;
El-Anbari, Mohammed .
PLOS ONE, 2017, 12 (06)
[8]   Deep Neural Architectures for Highly Imbalanced Data in Bioinformatics [J].
Bugnon, Leandro A. ;
Yones, Cristian ;
Milone, Diego H. ;
Stegmayer, Georgina .
IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2020, 31 (08) :2857-2867
[9]  
Lipton ZC, 2014, Arxiv, DOI [arXiv:1402.1892, DOI 10.48550/ARXIV.1402.1892]
[10]   SMOTE: Synthetic minority over-sampling technique [J].
Chawla, Nitesh V. ;
Bowyer, Kevin W. ;
Hall, Lawrence O. ;
Kegelmeyer, W. Philip .
2002, American Association for Artificial Intelligence (16)