The impact of class imbalance in classification performance metrics based on the binary confusion matrix
Open accessThe DOI matches its Crossref record; 42 of the 42 references it cites were found in a registry or an index.
Abstract
A major issue in the classification of class imbalanced datasets involves the determination of the most suitable performance metrics to be used. In previous work using several examples, it has been shown that imbalance can exert a major impact on the value and meaning of accuracy and on certain other well-known performance metrics. In this paper, our approach goes beyond simply studying case studies and develops a systematic analysis of this impact by simulating the results obtained using binary classifiers. A set of functions and numerical indicators are attained which enables the comparison of the behaviour of several performance metrics based on the binary confusion matrix when they are faced with imbalanced datasets. Throughout the paper, a new way to measure the imbalance is defined which surpasses the Imbalance Ratio used in previous studies. From the simulation results, several clusters of performance metrics have been identified that involve the use of Geometric Mean or Bookmaker Informedness as the best null-biased metrics if their focus on classification successes (dismissing the errors) presents no limitation for the specific application where they are used. However, if classification errors must also be considered, then the Matthews Correlation Coefficient arises as the best choice. Finally, a set of null-biased multi-perspective Class Balance Metrics is proposed which extends the concept of Class Balance Accuracy to other performance metrics.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
SMOTE synthetic minority over-sampling technique
Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002) · Journal of Artificial Intelligence Research · doi:10.1613/jair.953 · Cited by 32,865
He, H., & Garcia, E. A. (2009) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2008.239 · Cited by 10,359
A systematic analysis of performance measures for classification tasks
Sokolova, M., & Lapalme, G. (2009) · Information Processing & Management · doi:10.1016/j.ipm.2009.03.002 · Cited by 7,515
Proceedings of the 25th international conference on Machine learning - ICML '08
(2008) · doi:10.1145/1390156 · Cited by 6,680
Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation
Powers, D. M. W. (2020) · arXiv · doi:10.48550/arxiv.2010.16061 · Cited by 5,440
Comparison of the predicted and observed secondary structure of T4 phage lysozyme
Matthews, B. W. (1975) · Biochimica et Biophysica Acta (BBA) - Protein Structure · doi:10.1016/0005-2795(75)90109-9 · Cited by 5,399
A study of the behavior of several methods for balancing machine learning training data
Batista, G. E. A. P. A., Prati, R. C., & Monard, M. C. (2004) · ACM SIGKDD Explorations Newsletter · doi:10.1145/1007730.1007735 · Cited by 4,203
A Review on Evaluation Metrics for Data Classification Evaluations
M, H., & M.N, S. (2015) · International Journal of Data Mining & Knowledge Management Process · doi:10.5121/ijdkp.2015.5201 · Cited by 2,693
Learning from imbalanced data: open challenges and future directions
Krawczyk, B. (2016) · Progress in Artificial Intelligence · doi:10.1007/s13748-016-0094-0 · Cited by 2,459
Beyond Accuracy, F-Score and ROC: A Family of Discriminant Measures for Performance Evaluation
Sokolova, M., Japkowicz, N., & Szpakowicz, S. (2006) · Lecture Notes in Computer Science · doi:10.1007/11941439_114 · Cited by 1,974
Cited by
Chicco, D., & Jurman, G. (2020) · BMC Genomics · doi:10.1186/s12864-019-6413-7 · Cited by 6,143
Chicco, D., Tötsch, N., & Jurman, G. (2021) · BioData Mining · doi:10.1186/s13040-021-00244-z · Cited by 893
Khan, A. A., Chaudhari, O., & Chandra, R. (2024) · Expert Systems with Applications · doi:10.1016/j.eswa.2023.122778 · Cited by 530
Cross validation for model selection: A review with examples from ecology
Yates, L. A., Aandahl, Z., Richards, S. A., & Brook, B. W. (2023) · Ecological Monographs · doi:10.1002/ecm.1557 · Cited by 459
Pick and Choose: A GNN-based Imbalanced Learning Approach for Fraud Detection
Liu, Y., Ao, X., Qin, Z., Chi, J., Feng, J., Yang, H., & He, Q. (2021) · Proceedings of the Web Conference 2021 · doi:10.1145/3442381.3449989 · Cited by 446
Effect of Dataset Size and Train/Test Split Ratios in QSAR/QSPR Multiclass Classification
Rácz, A., Bajusz, D., & Héberger, K. (2021) · Molecules · doi:10.3390/molecules26041111 · Cited by 307
On the class overlap problem in imbalanced data classification
Vuttipittayamongkol, P., Elyan, E., & Petrovski, A. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2020.106631 · Cited by 290
Resampling imbalanced data for network intrusion detection datasets
Bagui, S., & Li, K. (2021) · Journal of Big Data · doi:10.1186/s40537-020-00390-x · Cited by 287
Hou, S., Liu, Y., & Yang, Q. (2022) · Journal of Rock Mechanics and Geotechnical Engineering · doi:10.1016/j.jrmge.2021.05.004 · Cited by 267
SCS-Net: A Scale and Context Sensitive Network for Retinal Vessel Segmentation
Wu, H., Wang, W., Zhong, J., Lei, B., Wen, Z., & Qin, J. (2021) · Medical Image Analysis · doi:10.1016/j.media.2021.102025 · Cited by 259
Early detection of Parkinson's disease using machine learning
Govindu, A., & Palwe, S. (2023) · Procedia Computer Science · doi:10.1016/j.procs.2023.01.007 · Cited by 257
Hybrid Deep Learning for Botnet Attack Detection in the Internet-of-Things Networks
Popoola, S. I., Adebisi, B., Hammoudeh, M., Gui, G., & Gacanin, H. (2021) · IEEE Internet of Things Journal · doi:10.1109/jiot.2020.3034156 · Cited by 248
“In a case where both classification successes and errors are to be considered, Matthews correlation coefficient (MCC) is the best null-biased performance metric for highly imbalanced data classification [87].”
BackgroundRecent advancements of robotics in construction
Xiao, B., Chen, C., & Yin, X. (2022) · Automation in Construction · doi:10.1016/j.autcon.2022.104591 · Cited by 204
An Investigation of Credit Card Default Prediction in the Imbalanced Datasets
Alam, T. M., Shaukat, K., Hameed, I. A., Luo, S., Sarwar, M. U., Shabbir, S., Li, J., & Khushi, M. (2020) · IEEE Access · doi:10.1109/access.2020.3033784 · Cited by 187
“Previous studies [42], [44] also showed that imbalance could exert a significant impact on the value and meaning of accuracy and specific other well-known performance metrics.”
BackgroundFW-SMOTE: A feature-weighted oversampling approach for imbalanced classification
Maldonado, S., Vairetti, C., Fernandez, A., & Herrera, F. (2022) · Pattern Recognition · doi:10.1016/j.patcog.2021.108511 · Cited by 177
Mutual Attention Inception Network for Remote Sensing Visual Question Answering
Zheng, X., Wang, B., Du, X., & Lu, X. (2022) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2021.3079918 · Cited by 159
“” To avoid the impact of data imbalance [42] as much as possible, a strategy is adopted to make the number of “yes” and “no” equal.”
MethodA Comparative Study of Class Rebalancing Methods for Security Bug Report Classification
Zheng, W., Xun, Y., Wu, X., Deng, Z., Chen, X., & Sui, Y. (2021) · IEEE Transactions on Reliability · doi:10.1109/tr.2021.3118026 · Cited by 85
Predicting employee absenteeism for cost effective interventions
Lawrance, N., Petrides, G., & Guerry, M.-A. (2021) · Decision Support Systems · doi:10.1016/j.dss.2021.113539 · Cited by 40
Artificial Intelligence to Improve Antibiotic Prescribing: A Systematic Review
Amin, D., Garzόn-Orjuela, N., Garcia Pereira, A., Parveen, S., Vornhagen, H., & Vellinga, A. (2023) · Antibiotics · doi:10.3390/antibiotics12081293 · Cited by 34
“, recall), specificity, precision and F1 score [57].”
Bhandary, R., & Ghosh, B. K. (2025) · Journal of Risk and Financial Management · doi:10.3390/jrfm18010023 · Cited by 27
Vrba, J., Steinbach, J., Jirsa, T., Verde, L., De Fazio, R., Zeng, Y., Ichiji, K., Hájek, L., Sedláková, Z., Urbániová, Z., et al. (2025) · Journal of Voice · doi:10.1016/j.jvoice.2025.03.028 · Cited by 6
“The imbalance between healthy and pathological samples in the dataset (408 healthy females, 545 females with pathologies, 252 healthy males, and 443 males with pathologies) introduces a bias into commonly used metrics such as accuracy, F1 score, precision, and negative predictive value [50].”
Dutta, K., Lenka, R., Gupta, P., Goel, A., & Naga Ramesh, J. V. (2024) · EAI Endorsed Transactions on Pervasive Health and Technology · doi:10.4108/eetpht.10.5581 · Cited by 1
“Confusion Matrix [21] correctly identified SARS-COV-2 cases in X-ray images.”
Method
Metadata
- Authors
- Luque, A., Carrasco, A., Martín, A., & de las Heras, A.
- Venue
- Pattern Recognition
- Publisher
- Elsevier BV
- Published
- 2019-07
- Volume
- 91
- Pages
- 216-231
- ISSN
- 0031-3203 (ISSN-L)
- OpenAlex
- W2918408501
- Cited by
- 1,128
- References
- 42
- FWCI
- 52.03
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.