Accuracy, precision, recall, f1-score, or MCC? empirical evidence from advanced statistics, ML, and XAI for evaluating business predictive models
Khaled Mahmud Sujon, Rohayanti Hassan, Kwonhue Choi, Md Abdus Samad
University of Technology Malaysia · Yeungnam University
Key points
From the paper's conclusion- Our findings show that the F1-score consistently provides the most stable and balanced evaluation across datasets and testing conditions, with MCC offering complementary diagnostic value.
Abstract
Imbalanced datasets pose a persistent challenge in business data mining, particularly in high-stakes domains such as financial risk prediction and customer churn analysis, where the minority class often carries disproportionate operational and financial consequences. Although widely used evaluation metrics–such as accuracy, precision, recall, F1-score, and Matthews Correlation Coefficient (MCC)–are commonly applied in practice, there remains no empirical consensus on which metric offers the most reliable performance under real-world conditions. Existing studies lack a unified, statistically validated framework that accounts for threshold sensitivity, input noise, and interpretability–factors critical to business decision-making. To address this gap, we present a comprehensive and statistically rigorous evaluation of performance metrics for imbalanced business classification tasks. Using two benchmark datasets with distinct sizes and imbalance ratios–the Default of Credit Card Clients dataset and the Telco Customer Churn dataset–we evaluate five commonly used machine learning models: Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and k-Nearest Neighbors (KNN). Our methodology incorporates static and dynamic threshold analysis, Gaussian noise robustness testing, bootstrap confidence intervals, McNemar’s test, Cohen’s kappa, and analysis of variance (ANOVA) to assess the statistical reliability of performance metrics. In addition, we introduce a novel two-stage explainable artificial intelligence (XAI) framework using SHapley Additive exPlanations (SHAP). The first stage employs standard SHAP visualizations (bar and beeswarm plots) to ensure baseline interpretability. The second stage extends this with a novel 3D metric-conditioned SHAP analysis, linking feature contributions to variations in classification thresholds and evaluation metrics. Our findings show that the F1-score consistently provides the most stable and balanced evaluation across datasets and testing conditions, with MCC offering complementary diagnostic value. In contrast, accuracy and precision demonstrate limited robustness under class imbalance. By combining statistical rigor with interpretable AI, this study offers the most comprehensive guidance to date for selecting performance metrics in imbalanced business classification, with practical implications for model deployment in finance, marketing, and customer analytics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Why ROC-AUC Is Misleading for Highly Imbalanced Data: In-Depth Evaluation of MCC, F2-Score, H-Measure, and AUC-Based Metrics Across Diverse ClassifiersTechnologies · 2026
- Evaluation metrics under class imbalance in machine learning: A methodological analysisMachine Learning: Science and Technology · 2026
- When Single-Dataset Conclusions Fail: A 45-Task Study of Threshold Tuning and Resampling for Imbalanced ClassificationarXiv · 2026
- An approach for handling imbalanced datasets using borderline shiftingScientific Reports · 2026
- Objective over Architecture: Fraud Detection Under Extreme Imbalance in Bank Account OpeningComputation · 2025
- Balancing Fairness and Accuracy in Machine Learning-Based Probability of Default Modeling via Threshold OptimizationJournal of risk and financial management · 2025