Deployment of a machine learning-based predictive system for childhood diarrhea in Sub-Saharan Africa

Diarrhea remains a leading cause of child mortality in Sub-Saharan Africa, necessitating advanced predictive tools for early intervention. Despite the growing adoption of machine learning in healthcare, gaps persist in deploying models as scalable, real-world solutions. This study developed an end-to-end machine learning framework to predict diarrhea among children under five in SSA, integrating rigorous model development with Flask-based deployment for practical use. Using nationally representative Demographic and Health Surveys (DHS) data from 27 SSA countries (2016-2024), we preprocessed data (handling missing values, feature selection, and SMOTE for class imbalance), trained a Random Forest classifier (optimized via RandomizedSearchCV), and deployed the model as a RESTful API with Flask. The final model demonstrated strong predictive power, with 79.6% accuracy and a particularly high recall of 84.1%, meaning it is exceptionally effective at identifying true diarrhea cases. Most importantly, the model is no longer just a research output; it is a deployed, interactive system ready for practical application. This work successfully demonstrates a complete pipeline from data to deployment, offering a tangible solution that can aid public health decision-making. We have proven that it is possible to close the gap between machine learning research and real-world implementation. To build on this foundation, future work should focus on enhancing the model's interpretability for health workers, adopting more scalable deployment technologies like FastAPI and Docker, and conducting rigorous field validation with community stakeholders to ensure these tools truly meet the needs of those they are designed to serve.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-03-13
DOI
https://doi.org/10.1038/s41598-026-43140-4
Primary Topic
Child Nutrition and Water Access
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deployment of a machine learning-based predictive system for childhood diarrhea in Sub-Saharan Africa

Helen Brhan Alemaw, Abriham Zegeye, Dejen Kahsay Asgedom, Belayneh Jejaw Abate et al.
Scientific Reports
Child Nutrition and Water Access
article

Deployment of a machine learning-based predictive system for childhood diarrhea in Sub-Saharan Africa

Helen Brhan Alemaw, Abriham Zegeye, Dejen Kahsay Asgedom, Belayneh Jejaw Abate, S. Assefa, Sofiya Ayalew Kebede, Eliyas Addisu Taye, Simachew Getaneh Endalamew, Eyob Akalewold Alemu, Halima Ayalew Kebede, Endalew Minwuye Andargie
article en

Abstract

Diarrhea remains a leading cause of child mortality in Sub-Saharan Africa, necessitating advanced predictive tools for early intervention. Despite the growing adoption of machine learning in healthcare, gaps persist in deploying models as scalable, real-world solutions. This study developed an end-to-end machine learning framework to predict diarrhea among children under five in SSA, integrating rigorous model development with Flask-based deployment for practical use. Using nationally representative Demographic and Health Surveys (DHS) data from 27 SSA countries (2016-2024), we preprocessed data (handling missing values, feature selection, and SMOTE for class imbalance), trained a Random Forest classifier (optimized via RandomizedSearchCV), and deployed the model as a RESTful API with Flask. The final model demonstrated strong predictive power, with 79.6% accuracy and a particularly high recall of 84.1%, meaning it is exceptionally effective at identifying true diarrhea cases. Most importantly, the model is no longer just a research output; it is a deployed, interactive system ready for practical application. This work successfully demonstrates a complete pipeline from data to deployment, offering a tangible solution that can aid public health decision-making. We have proven that it is possible to close the gap between machine learning research and real-world implementation. To build on this foundation, future work should focus on enhancing the model's interpretability for health workers, adopting more scalable deployment technologies like FastAPI and Docker, and conducting rigorous field validation with community stakeholders to ensure these tools truly meet the needs of those they are designed to serve.

Scientific Reports
Debre Berhan University (ET), Samara University (ET), Wollo University (ET), Woldia University (ET), Bahir Dar University (ET), University of Gondar (ET)
Openalex Percentile: Top 23%
Child Nutrition and Water Access
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.