An interpretable machine learning framework for SDG 7 electricity access forecasting and policy scenario analysis in sub-Saharan Africa
Sena Gemechis File
Key points
From the paper's conclusion- This study proposes an interpretable framework that integrates forecasting, explainability, and policy scenario analysis into a reproducible workflow, demonstrated on a World Development Indicators panel of 45 SSA countries (2001–2023; 1035 observations) with Ethiopia as the case study.
Abstract
Universal electricity access by 2030 (Sustainable Development Goal 7, SDG 7) remains far off track in Sub-Saharan Africa (SSA), where approximately 565 million people lacked access in 2023. This study proposes an interpretable framework that integrates forecasting, explainability, and policy scenario analysis into a reproducible workflow, demonstrated on a World Development Indicators panel of 45 SSA countries (2001–2023; 1035 observations) with Ethiopia as the case study. Linear Regression (LR), Random Forest, XGBoost, and LightGBM are compared under leave-one-country-out and temporal-split validation. With path dependence represented through a lagged access feature, LR achieves the lowest error: a mean absolute error (MAE) of 1.93 percentage points across the 45 held-out countries (2.04 for Ethiopia) and 1.33 for Ethiopia in the temporal split. LR improves on a persistence baseline in 33 of 45 countries (median MAE improvement 15.9%). SHapley Additive exPlanations (SHAP) show that prior-year access dominates predictions, as expected under the autoregressive specification and consistent with infrastructure path dependence. SHAP informs the diagnostic assessment of the predictive structure, while multicollinearity screening, coefficient-sign verification, and scenario-sensitivity checks determine the selection of LR as the scenario model. Under Slow, Business-as-Usual, and Accelerated scenarios, Ethiopia is projected to reach 67.5–69.9% access by 2030, leaving a gap of 30–32 percentage points. Within the socioeconomic scenarios represented, macroeconomic improvements alone are unlikely to close this gap; structural interventions such as grid extension, lower connection costs, and off-grid solar deployment are needed. The framework is open and potentially transferable, pending validation elsewhere.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards reliable solar power forecasting in Sub-Saharan Africa: An explainable hybrid AI approach for ChadEnergy Reports · 2026
- Financial Inclusion, Energy Poverty and Food Security in Sub-Saharan Africa: Insights from Machine Learning TechniquesJournal of Risk and Financial Management · 2026
- Interpretable Machine Learning for Forecasting Renewable Energy Production: A Cross‐Country AnalysisEngineering Reports · 2026
- Machine learning-based prediction of household sanitation facility access in Sub-Saharan Africa: insights from DHS data (2012–2024)Archives of Public Health · 2025
- Data-Driven Vegetation-Caused Power Outage Prediction in Power Distribution Systems: A Case Study of Surat Thani Province, ThailandEnergies · 2026
- Least-cost electrification pathways for Senegal by 2030: A nationwide analysis using open-source spatial electrification tool (OnSSET)Energy Nexus · 2025