Optimizing Credit Risk Assessment in Ghanaian Micro-Lending Institutions: A Comparative Analysis of Random Forest, Extra Tree Classifier, and Ensemble Machine Learning Models

Authors

  • Prince Clement Addo Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development
  • Samuel Kofi Akpatsa Faculty of Applied Sciences and Mathematics Education, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development https://orcid.org/0000-0003-0141-9789
  • Emmanuel Owusu Mensah Faculty of Applied Sciences and Mathematics Education, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development
  • Nora Bakabbey Kulbo Department of Management Studies Education, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development – Kumasi, Ghana https://orcid.org/0000-0002-3262-8156
  • William Asiedu Faculty of Applied Sciences and Mathematics Education, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development https://orcid.org/0000-0002-1161-9226
  • Joana Dango Library, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development – Kumasi, Ghana https://orcid.org/0009-0008-6488-3654
  • William Atuahene Agyei Faculty of Applied Sciences and Mathematics Education, Akenten Appiah-Menka University of Skills Training and Entrepreneurial Development https://orcid.org/0000-0001-9691-9297

DOI:

https://doi.org/10.64922/jassee.v1i1.33

Keywords:

credit risk, random forest, extra tree classifier, ensemble machine learning, loan defaulters, Microfinance, Ghana

Abstract

Credit risk assessment is pivotal to the sustainability of micro-lending institutions, particularly in emerging economies such as Ghana, where conventional evaluation methods remain predominantly manual and subjective. Traditional approaches, which rely on face-to-face interviews, personal judgments, and simple background checks, are vulnerable to human biases, inconsistencies, and inefficiencies that contribute to elevated default rates and broader financial instability. This study investigates the application of machine learning (ML) techniques, specifically Random Forest (RF), Extra Tree Classifier (ETC), and a probability-averaged Ensemble Classifier, to enhance credit risk assessment in Ghanaian micro-lending institutions. Using a quantitative experimental research design, the study analysed 32,581 loan records drawn from Tepa Man Microfinance Institution. Data preprocessing included missing-value imputation, one-hot encoding, and class balancing via random oversampling, applied exclusively to the training set. Model performance was evaluated through 10-fold stratified cross-validation using accuracy, precision, recall, F1-score, AUC-ROC, Cohen's Kappa, and Matthews Correlation Coefficient (MCC). Hyperparameters were set to scikit-learn defaults (n_estimators = 100, random_state = 42) to ensure reproducibility. The Random Forest and Extra Tree Classifiers each achieved a mean accuracy of 99.33% and an AUC-ROC of 0.9997, results that are consistent with the high-quality, real-world dataset and are critically interpreted in the context of potential overfitting risks. Feature importance analysis identified the loan-to-income ratio and interest rate as the dominant predictors of default. The Ensemble Method, which averages class probabilities across both base models, achieved 84.25% accuracy and an AUC of 0.9231, demonstrating stronger generalization than the individual classifiers. The study concludes that integrating ML models can substantially improve the accuracy, consistency, and reliability of credit risk evaluations, thereby reducing default rates and supporting financial inclusion in Ghana's microfinance sector.

References

Adesanya, M. E. (2024). Assessing credit risk through borrower analysis to minimize default risks in banking sectors effectively. International Journal of Research Publication and Reviews, 5(12), 5479–5493. https://doi.org/10.55248/gengpi.5.1224.0233

Akinjole, A., Shobayo, O., Popoola, J., Okoyeigbo, O., & Ogunleye, B. (2024). Ensemble-based machine learning algorithm for loan default risk prediction. Mathematics, 12(21), 3423. https://doi.org/10.3390/math12213423

Alserhani, F., & Aljared, A. (2023). Evaluating ensemble learning mechanisms for predicting advanced cyber-attacks. Applied Sciences, 13(24), 13310. https://doi.org/10.3390/app132413310

Bin, J., Gardiner, B., Li, E., & Liu, Z. (2021). Extreme randomized trees for real estate appraisal with housing and crime data. In Artificial Intelligence: Models, Algorithms and Applications (pp. 83–97). Bentham Science Publishers. https://doi.org/10.2174/9781681088266121010008

Chafale, J. H., Wadetwar, R. S., Giriya, D. M., Badhiye, S., Borkar, P., & Shinde, S. (2024). Credit risk analysis using machine learning. 2024 8th International Conference on Computing, Communication, Control and Automation (ICCUBEA), 1–5. https://doi.org/10.1109/ICCUBEA61740.2024.10774950

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.

Decardi-Nelson, I., Asamoah, O., Solomon-Ayeh, B., & Nduro, K. (2014). The informal sector and mortgage financing in Ghana. Ghana Journal of Development Studies, 9(2), 136. https://doi.org/10.4314/gjds.v9i2.8

Duman, E., Aktas, M. S., & Yahsi, E. (2023). Credit risk prediction based on psychometric data. Computers, 12(12), 248. https://doi.org/10.3390/computers12120248

Fejza, D., Nace, D., & Kulla, O. (2022). The credit risk problem: A developing country case study. Risks, 10(8), 146. https://doi.org/10.3390/risks10080146

Gao, T., & Lau, R. Y. K. (2024). Leveraging deep learning and multimodal signals from social media to enhance credit risk prediction. 2024 IEEE International Conference on Signal Processing, Communications and Computing (ICSPCC), 1–6.

Gao, X., Yang, X., & Zhao, Y. (2023). Rural micro-credit model design and credit risk assessment via improved LSTM algorithm. PeerJ Computer Science, 9, e1588. https://doi.org/10.7717/peerj-cs.1588

Geurts, P., Ernst, D., & Wehenkel, L. (2006). Extremely randomized trees. Machine Learning, 63(1), 3–42. https://doi.org/10.1007/s10994-006-6226-1

Jayaram, E. S. (2024). Machine learning-based loan default prediction: Models, insights, and performance evaluation in peer-to-peer lending platforms. Educational Administration: Theory and Practice, 12975–12989.

Kiralıoğlu, T. (2024). Investigating the use of machine learning in automating credit scoring for microfinance. Human Computer Interaction, 8(1), 29.

Kofi Oppong-Boakye, P., Ahinful, G. S., & Danquah, J. B. (2012). Micro-loans and micro enterprises in Ghana: Players, roles and challenges. European Journal of Business and Management, 4(20).

Kumar, S. (2024). Enhanced fraud detection in financial transactions using hyperparameter-tuned random forests. 2024 15th International Conference on Computing Communication and Networking Technologies (ICCCNT), 1–7.

Kyriazos, T., & Poga, M. (2024). Application of machine learning models in social sciences: Managing nonlinear relationships. Encyclopedia, 4(4), 1790–1805.

Li, C., & Zhang, J. (2024). Research on credit risk prediction models based on machine learning. 2024 6th International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), 1–4.

Liu, S. (2024). Application analysis of machine learning models in credit risk. Highlights in Science, Engineering and Technology, 107, 76–81.

Maindola, M., Al-Fatlawy, R. R., Kumar, R., Boob, N. S., Sreeja, S. P., Sirisha, N., & Srivastava, A. (2024). Utilizing random forests for high-accuracy classification in medical diagnostics. 2024 7th International Conference on Contemporary Computing and Informatics (IC3I), 1679–1685.

Musyoka, G., Waititu, A., & Imboga, H. (2024). Credit risk modelling using RNN-LSTM hybrid model for digital financial institutions. International Journal of Statistical Distributions and Applications, 10(2), 16–24.

Nallakaruppan, M. K., Chaturvedi, H., Grover, V., Balusamy, B., Jaraut, P., Bahadur, J., Meena, V. P., & Hameed, I. A. (2024). Credit risk assessment and financial decision support using explainable artificial intelligence. Risks, 12(10), 164.

Noriega, J. P., Rivera, L. A., & Herrera, J. A. (2023). Machine learning for credit risk prediction: A systematic literature review. Data, 8(11), 169.

Nwaimo, C. S., Adegbola, A. E., & Adegbola, M. D. (2024). Predictive analytics for financial inclusion: Using machine learning to improve credit access for underbanked populations. Computer Science & IT Research Journal, 5(6), 1358–1373.

Nyanzu, F., & Quaidoo, M. (2018). Access to finance constraint and SMEs functioning in Ghana (MPRA Paper No. 83202). Munich Personal RePEc Archive.

Omowole, B. M., Urefe, O., Mokogwu, C., & Ewim, S. E. (2024). Strategic approaches to enhancing credit risk management in microfinance institutions. International Journal of Frontline Research in Multidisciplinary Studies, 4(1), 053–062.

Ranglani, H. (2024). Empirical analysis of the bias-variance trade off across machine learning models. Machine Learning and Applications: An International Journal, 11(4), 01–12.

Rani, R., & Gupta, S. (2024). Predicting home loan approvals using random forest classifiers. 2024 3rd International Conference for Advancement in Technology (ICONAT), 1–4.

Ranjan, A., Gourisaria, M. K., Singh, J. P., Panda, A. R., Mishra, S. R., & Parihar, V. (2024). Leveraging advanced machine learning algorithms for loan repayment prediction. 2024 15th International Conference on Computing, Communication and Networking Technologies (ICCCNT), 1–6.

Romero, B., & Sahoo, D. (2024). Integrated learning comprehensive evaluation of stock market prediction. Journal of Research in Science and Engineering, 6(12), 39–40.

Saha, T., Biswas, S. K., Sanyal, S., Verma, N., & Purkayastha, B. (2023). Credit risk prediction using extra tree ensembling technique with genetic algorithm. 2023 14th International Conference on Computing, Communication and Networking Technologies (ICCCNT), 1–5.

Seitkulov, Y., Sickory Daisy, J., Deepshika, S., & G., H. (2024). Credit risk analysis using explainable artificial intelligence. Journal of Soft Computing Paradigm, 6(3), 272–283.

Shah, M., Gandhi, K., Patel, K. A., Kantawala, H., Patel, R., & Kothari, A. (2023). Theoretical evaluation of ensemble machine learning techniques. 2023 5th International Conference on Smart Systems and Inventive Technology (ICSSIT), 829–837.

Shukla, D. (2024). A survey of machine learning algorithms in credit risk assessment. Journal of Electrical Systems, 20(3), 6290–6297.

Singh, K. (2024). The dual nature of peculiar problems in microfinancing: Perspectives on market efficiency and public policy nexus. Journal of Economic and Administrative Sciences. Advance online publication.

Su, Y. (2024). Financial technology credit risk modeling and prediction based on random forest algorithm. 2024 Second International Conference on Data Science and Information System (ICDSIS), 1–4.

Syam, N., & Kaul, R. (2021). Random forest, bagging, and boosting of decision trees. In Machine Learning and Artificial Intelligence in Marketing and Sales (pp. 139–182). Emerald Publishing Limited.

Temelkov, Z., & Georieva Svrtinov, V. (2024). AI impact on traditional credit scoring models. Journal of Economics, 9(1), 1–9.

Vapnik, V. N. (1998). Statistical learning theory. Wiley.

Wang, Q., Nguyen, T.-T., Huang, J. Z., & Nguyen, T. T. (2018). An efficient random forests algorithm for high-dimensional data classification. Advances in Data Analysis and Classification, 12(4), 953–972.

Yan, G. (2024). Research on the application of alternative data in credit risk management. Highlights in Business, Economics and Management, 40, 1156–1160.

Zhou, Z.-H. (2021). Computational learning theory. In Machine Learning (pp. 287–313). Springer Singapore.

Downloads

Published

30-07-2026