Evaluating Machine Learning Models for Personal Credit Risk: A Comparison of Logistic Regression, Random Forest, and XGBoost
Abstract
Traditional methods for predicting personal credit risk have historically lacked accuracy and comprehensiveness, failing to effectively analyze a large number of nonlinear user characteristics. Large-scale modeling algorithms have advanced quickly in recent years, and more and more financial institutions are adopting them to forecast the likelihood of personal credit default. However, challenges persist in understanding the distinct features and applicability of different models. In this research, a publicly accessible personal credit dataset from LendingClub covering the years 2007–2010 is empirically analyzed using three well-known algorithms: Logistic Regression (LR), Random Forest (RF), and eXtreme Gradient Boosting (XGBoost). The Synthetic Minority Over-sampling Technique (SMOTE) is used to generate synthetic samples for the minority class to tackle the notable class imbalance in the dataset. The performance of these models is evaluated and contrasted by four pivotal criteria and Receiver Operating Characteristic (ROC) curves. The outcomes illustrate that XGBoost outperforms the other models across all evaluated metrics. Based on these findings, this paper recommends XGBoost as the preferred algorithm for personal credit risk prediction.
References
- Li, S. (2024). Machine Learning in Credit Risk Forecasting — A Survey on Credit Risk Exposure. Accounting and Finance Research, 13(2), 107-107.
- Mousaab, E. G., Chaabita, R., & Idamia, S. (2024). Machine Learning dans l’évaluation du risque crédit : revue systématique. Zenodo.
- Ahmed, F., Nizam, K., Sajid, Z., Qamar, S., & Ahsan. (2024). Striking a balance: Evaluating credit risk with traditional and machine learning models. Bulletin of Business and Economics, 13(3), 30–35.
- Suhadolnik, N., Ueyama, J., & Da Silva, S. (2023). Machine Learning for Enhanced Credit Risk Assessment: An Empirical Approach. Journal of Risk and Financial Management, 16(12), 496.
- Shi, S., Tse, R., Luo, W., D’Addona, S., & Pau, G. (2022). Machine learning-driven credit risk: a systemic review. Neural Computing and Applications, 34(17), 14327-14339.
- Yangyudongnanxin, G. (2021). Financial credit risk control strategy based on weighted random forest algorithm. Scientific Programming, 2021, 1–9.
- Liu, W., Fan, H., & Xia, M. (2022). Credit scoring based on tree-enhanced gradient boosting decision trees. Expert Systems with Applications, 189, 116034.
- Ren, W., Zhu, Z., Wang, Y., Su, J., Zeng, R., Zheng, D., & Li, X. (2024). Comparison of Machine Learning Models in Simulating Glacier Mass Balance: Insights from Maritime and Continental Glaciers in High Mountain Asia. Remote Sensing, 16(6), 956.
- Machado, M. R., & Karray, S. (2022). Assessing credit risk of commercial customers using hybrid machine learning algorithms. Expert Systems with Applications, 200, 116889.
- Pargent, F., Pfisterer, F., Thomas, J., & Bischl, B. (2022). Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality features. Computational Statistics, 37(5), 2671–2692.
- Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic Minority Over-sampling Technique. Journal of Artificial Intelligence Research, 16, 321–357.
- Elreedy, D., Atiya, A. F., & Kamalov, F. (2024). A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning. Machine Learning, 113(7), 4903–4923.
- Fisher, A., Rudin, C., & Dominici, F. (2019). All models are wrong, but many are useful: Learning a variable's importance by studying an entire class of prediction models simultaneously. Journal of Machine Learning Research, 20(177), 1-81.
- Molnar, C., König, G., Bischl, B., & Casalicchio, G. (2024). Model-agnostic feature importance and effects with dependent features: a conditional subgroup approach. Data Mining and Knowledge Discovery, 38(5), 2903-2941.