MARATTO

article · Journal of Health Population and Nutrition

Machine learning algorithms application in WaSH prediction using DHS data in Sub-Saharan Africa

2026Open accessGondar University

In plain language

Combined water, sanitation, and hygiene coverage stands at nineteen percent across thirty-three Sub-Saharan African countries, based on demographic survey data from over two hundred and thirty thousand households between 2010 and 2020. Seven machine learning algorithms were trained and evaluated to identify household-level access to combined services. Gradient boosting demonstrated the highest predictive performance among the tested models. The analysis identified the educational attainment of the household head, the household wealth index, and the age of the household head as the most influential predictors of access. Residence type and media exposure were also significant contributing factors. Overall, access to essential services remains low across the region, with the most pronounced gaps occurring in rural settlements and among communities with lower levels of education.

Key takeaways

  • Combined water, sanitation, and hygiene service coverage was only nineteen percent across the surveyed households in Sub-Saharan Africa.
  • Gradient boosting outperformed six other machine learning algorithms in predicting household access to combined services.
  • Household head education, household wealth, and the age of the household head were the strongest predictors of coverage.
  • Residence type and media exposure were also statistically significant predictors of service access.
  • Service coverage was systematically lower in rural areas and among less educated populations.

Why it matters

Millions of households across Sub-Saharan Africa lack concurrent access to clean water, proper sanitation, and basic hygiene. By using predictive machine learning models to analyse large demographic datasets, planners can pinpoint the specific socioeconomic and geographic factors that correlate with service deficits. This understanding helps public health agencies and regional bodies direct resources more precisely to vulnerable, underserved communities.

Commercialisation angle

The research demonstrates early-stage predictive modelling using survey data. Public health organisations, development agencies, and municipal planners could integrate these gradient boosting models into decision-support tools to identify communities most in need of water and sanitation infrastructure. However, the abstract does not indicate any commercial deployment, software development, or field testing beyond analytical modelling, placing the work at an early stage of research and planning application.

AI-generated from the published abstract. Always read the original work before citing.

Abstract

Access to combined safe Water, Sanitation, and Hygiene services remains a major public health concern across Sub-Saharan Africa, with coverage disparities influenced by a wide range of individual and community-level factors. Traditional statistical analyses may not fully capture the complexity and interactions of these determinants. Therefore, the objective of this study was to identify predictors of WaSH in Sub-Saharan Africa based on DHS data using machine-learning algorithms. This study used regionally representative Demographic and Health Survey data from 33 Sub-Saharan African countries and applied machine learning techniques to estimate household-level access to combined water, sanitation, and hygiene (WaSH) services. This study was based on weighted data from 233,391 households, spanning survey years from 2010 to 2020. Important categorical predictors were chosen, including the household wealth index, age group, marital status, sex, household head’s educational attainment, and community-level variables. These variables were identified based on evidence from the literature, their theoretical relevance to WaSH outcomes, and their demonstrated statistical significance in exploratory and model-building analyses. The Synthetic Minority Over-sampling Technique (SMOTE) was used to address class imbalance after the data had been preprocessed and encoded. With Hyperparameter tweaking through grid search, seven machine learning models- Logistic Regression, Random Forest, Gradient Boosting, Decision Tree, k-nearest Neighbors, Naive Bayes, and Neural Network—were trained and assessed over the course of seven iterations. Accuracy, precision, recall, specificity, F1-score, and AUC were used to evaluate the model’s performance. The most significant predictors were found by extracting feature importance from the top-performing models. Combined WaSH service coverage was 19% among the included population in sub-Saharan Africa. Seven machine-learning algorithms were applied to predict access to WaSH services. The differences observed at the regional level are statistically significant. Gradient Boosting outperformed the other models in predictive performance ( p < 0.01). The most influential predictors of WaSH service access were the educational level of the household head ( p < 0.001), the household head’s age ( p < 0.05), and the household wealth index ( p < 0.001). Residence type ( p < 0.01) and media exposure ( p < 0.05) also made significant contributions. The analysis revealed that WaSH coverage was generally lower across the region, particularly in rural and less educated communities ( p < 0.01). In summary, machine-learning techniques helped identify key predictors of household WaSH (Water, Sanitation, and Hygiene) coverage, revealing that disparities were primarily associated with age, household wealth, and the educational level of the household head. These findings highlight the strong link between socioeconomic factors and access to essential WaSH services. Overall, WaSH coverage remained low across the dataset, highlighting persistent inequalities and the urgent need for targeted interventions.

Research topics

  • Child Nutrition and Water Access
  • Global Maternal and Child Health
  • Healthcare Systems and Reforms

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1186/s41043-026-01437-0

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.