Skip to main content

Research Repository

Advanced Search

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

Foody, Giles M

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


Authors

GILES FOODY giles.foody@nottingham.ac.uk
Professor of Geographical Information



Abstract

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.

Citation

Foody, G. M. (2023). Challenges in the real world use of classification accuracy metrics: From recall and precision to the Matthews correlation coefficient. PLoS ONE, 18(10), Article e0291908. https://doi.org/10.1371/journal.pone.0291908

Journal Article Type Article
Acceptance Date Sep 7, 2023
Online Publication Date Oct 4, 2023
Publication Date 2023
Deposit Date Oct 6, 2023
Publicly Available Date Oct 6, 2023
Journal PloS one
Electronic ISSN 1932-6203
Publisher Public Library of Science
Peer Reviewed Peer Reviewed
Volume 18
Issue 10
Article Number e0291908
DOI https://doi.org/10.1371/journal.pone.0291908
Keywords Chemical elements; Computer and information sciences; Machine learning; Remote sensing; Deforestation; Epidemiology; Gold; Medicine and health sciences
Public URL https://nottingham-repository.worktribe.com/output/25682435

Files




You might also like



Downloadable Citations