Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

ยฉ 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Byabato/financial-inclusion-africa-ml-zindi

Domain:

socioeconomic

Record type:

project
Creator:
Bya
Host:
End-to-End ML Pipeline & Policy Intervention Simulator for Financial Inclusion in East Africa. Features Stacking Ensembles, Optuna Tuning, and SHAP-driven Explainable AI to map socio-economic barriers to SDG-aligned solutions. # ๐ŸŒ Financial Inclusion in Africa โ€” ML Pipeline & Policy Simulator Kelvin Byabato ย ยทย  --- > **86% of East Africans have no bank account.** This pipeline predicts who is excluded, explains why using SHAP, and recommends SDG-aligned interventions โ€” not just a leaderboard score. --- ## ๐Ÿ“‹ Table of Contents - Problem Statement - Results - Architecture - Feature Engineering - Training Strategy - Explainability Layer - Innovation: Policy Simulator - Setup & Reproduction - File Reference - References --- ## ๐ŸŽฏ Problem Statement **Competition:** Zindi Africa โ€” Financial Inclusion in Africa **Task:** Binary classification โ€” predict bank account ownership (Yes=1, No=0) **Metric:** Mean Absolute Error (MAE) on hard 0/1 predictions **Data:** ~33,600 survey respondents, Kenya ยท Rwanda ยท Tanzania ยท Uganda ยท 2016โ€“2018 **Class imbalance:** 14% positive (banked) ยท 86% negative (unbanked) ยท 6:1 ratio **Why MAE matters here:** MAE on binary labels equals the fraction of misclassified predictions. Minimizing MAE = maximizing accuracy. With class imbalance, the optimal threshold is NOT 0.5 โ€” threshold optimization is critical. --- ## ๐Ÿ† Results | Model | OOF MAE | OOF AUC | Notes | |---|---|---|---| | Logistic Regression | ~0.170 | ~0.750 | Baseline | | XGBoost (default) | ~0.130 | ~0.840 | +24% vs baseline | | LightGBM (default) | ~0.130 | ~0.840 | Speed advantage | | CatBoost (default) | ~0.130 | ~0.840 | Native categoricals | | XGBoost (Optuna-tuned) | ~0.120 | ~0.855 | 50-trial Bayesian search | | **Stacking Ensemble** | **0.1117** | **0.8647** | **Final submission** | All scores are **Out-of-Fold** โ€” evaluated only on held-out data, never on training samples. --- ## ๐Ÿ—๏ธ Architecture ``` financial-inclusion-africa-ml-zindi/ โ”‚ โ”œโ”€โ”€ src/ โ† Library (import, don't modify directly) โ”‚ โ”œโ”€โ”€ __init__.py โ”‚ โ”œโ”€โ”€ config.py โ€” Paths, params, encoding maps (change here only) โ”‚ โ”œโ”€โ”€ features.p โ€ฆ

Visit

github.com

Tasks

text classification

Tags

africa-techcatboosteast-africaensemble-learningexplainable-aifinancial-inclusionmachine-learningpolicy-innovationpythonsdg-aligned+3

Licenses

MIT

Similar

Pryncekiddd254/financial-inclusion-africa-ml-zindiLoic-Tchana/financial-inclusion-africa-zindi.ShowBaba/Zindi-Financial-Inclusion-in-AfricaSirDamis/Financial-Inclusion-in-Africa-ZindiBonifacethuo/Financial-Inclusion-in-Africa-ZindiLemukong/Zindi-Financial-Inclusion-in-Africa

Pryncekiddd254/financial-inclusion-africa-ml-zindi

Analyze financial data to improve inclusion in Africa using machine learning models and simulate pol

Loic-Tchana/financial-inclusion-africa-zindi.

Challenge Zindi financial-inclusion-africa # Financial Inclusion in Africa โ€” Zindi Challenge Prรฉdi

ShowBaba/Zindi-Financial-Inclusion-in-Africa

My solution to the Financial Inclusion in Africa Zindi challenge # Zindi-Financial-Inclusion-in-Afr

SirDamis/Financial-Inclusion-in-Africa-Zindi

# Financial-Inclusion-in-Africa-Zindi Financial Inclusion remains one of the main obstacles to econo

Bonifacethuo/Financial-Inclusion-in-Africa-Zindi

# Financial-Inclusion-in-Africa-Zindi In this project, the objective was to develop a machine lear

Lemukong/Zindi-Financial-Inclusion-in-Africa

Competition to create a machine learning model to predict which individuals are most likely to have