Skip to content
Open access

SHAP-Based Explainable Machine Learning for Predicting Loan Default among Women-Owned Microenterprises in Kenya

Jul 2026 · Journal of Advances in Mathematics and Computer Science · Vol 41, pp. 276-308 · 0 citations

Abstract

Background: Access to credit remains a major challenge for women-owned microenterprises in sub-Saharan Africa, yet existing loan default prediction models often lack transparency and interpretability. This study aimed to develop and evaluate a SHAP-based explainable machine learning framework for predicting loan default among women borrowers using Savings and Credit Cooperative Organizations (SACCO) lending data in Kenya. Methods: We analysed 3,880 loan records from Kenyan SACCOs, comprising variables across five domains: demographic characteristics, business attributes, loan terms, group-lending mechanisms, and savings/credit history. SSix machine learning algorithms, Logistic Regression, Decision Tree, Random Forest, Gradient Boosting, XGBoost, and LightGBM, were implemented and compared. The Synthetic Minority Oversampling Technique (SMOTE) addressed class imbalance (82.5% non-default versus 17.5% default). Model performance was assessed using classification metrics, probability calibration (Brier score), computational efficiency, and 95% bootstrap confidence intervals. Model interpretability was evaluated using SHapley Additive exPlanations (SHAP), with Random Forest selected as the primary interpretable model. Results: Ensemble learning methods outperformed traditional approaches across most performance metrics. Random Forest achieved the highest predictive performance with an F1 score of 0.903 (95% CI: 0.891–0.914) and recall of 0.999 (95% CI: 0.997–1.000), correctly identifying 99.9% of actual defaulters. Gradient boosting models (LightGBM, XGBoost, Gradient Boosting) demonstrated superior probability calibration (Brier = 0.147) and computational efficiency, requiring less than 0.6 seconds training time and producing model sizes below 0.25 MB. SHAP analysis identified loan amount, loan term, and interest rate as the dominant predictors of default, while training attendance and group enforcement mechanisms were associated with reduced default risk. Implications for Practice: The proposed SHAP-based framework provides financial institutions with transparent, actionable insights for credit risk assessment. By identifying modifiable loan-design factors and protective behavioral mechanisms, SACCOs can enhance portfolio quality, implement risk-based lending strategies, and expand inclusive access for women entrepreneurs without sacrificing predictive accuracy. Conclusion: Accurate and interpretable loan default prediction is feasible in microfinance settings using SHAP-based explainable machine learning. Loan characteristics are the primary drivers of default risk, while behavioral and group-based factors contribute to repayment performance. The framework supports improved lending decisions, enhanced financial inclusion, and better portfolio quality management for women-owned enterprises in developing economies.

Read PDF

Similar papers

Open access Jul 2026

An Interpretability Analysis of Credit Default Prediction Using Random Forest with SHAP and LIME

This study explores the use of Explainable Artificial intelligence techniques to improve the interpretability of credit default prediction and highlights the practical value of explainable machine learning in developing more understandable, trustworthy, and accountable credit risk assessment systems for real-world fina...

Muskan, B. Sidhu · 0 citations
Open access Jul 2026

An Explainable Machine Learning Framework for Credit Risk Assessment and Optimization in the Indian Banking Sector

An Explainable Machine Learning (XML) framework for credit risk assessment that combines an ensemble classifier, integrating XGBoost, Random Forest, and LightGBM, with an integrated SHAP-and-LIME explainability layer is proposed and evaluated using a large-scale retail and priority-sector loan dataset drawn from public...

A. Agrawal, Vaibhav C. Gandhi · 0 citations
Open access Aug 2026

Machine Learning-Based Loan Approval Prediction with SHAP Interpretability Analysis

This work compared five machine learning classifiers on a loan approval dataset: Random Forest, XGBoost, LightGBM, Logistic Regression, and Support Vector Machine and applied SHAP TreeExplainer to interpret the best-performing model.

Shengze Xu · 0 citations
Open access Jul 2026

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

It is concluded 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.

P. Addo, Samuel Kofi Akpatsa, Emmanuel Mensah et al. · 0 citations
Open access 2026

Comparative Predictive Performance of Logistic Regression, Naive Bayes, and Support Vector Machine Models in Loan Default Classification among Microfinance Institution Clients in Makueni County, Kenya

The study concludes that machine-learning models, particularly SVM, significantly improve credit risk prediction in microfinance environments and can support data-driven lending decisions in rural financial institutions.

J. Musau, Divya Kasina, Dr. Ayubu Anapapa · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.