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

Eliyas Addisu Taye1, Eyob Akalewold Alemu2, Halima Ayalew Kebede3

  • 1Department of Health Informatics, College of Medicine and Health Science, University of Gondar Comprehensive Specialized Hospital, Gondar, Ethiopia. eliyasaddisu12@gmail.com.

Scientific Reports
|March 14, 2026
PubMed

Insights

A new machine learning model predicts childhood diarrhea in Sub-Saharan Africa (SSA) with high accuracy. This deployed tool offers a practical solution to reduce child mortality by enabling early intervention.

Area of Science:

  • Public Health
  • Machine Learning
  • Pediatrics

Background:

  • Diarrhea is a major cause of child mortality in Sub-Saharan Africa (SSA).
  • Existing machine learning (ML) models for healthcare often lack scalable, real-world deployment.
  • Predictive tools are needed for early intervention to combat childhood diarrhea in SSA.

Purpose of the Study:

  • To develop and deploy an end-to-end machine learning framework for predicting diarrhea in children under five in SSA.
  • To bridge the gap between ML research and practical public health applications.
  • To create a tangible, deployable solution for aiding public health decision-making.

Main Methods:

  • Utilized Demographic and Health Surveys (DHS) data from 27 SSA countries (2016-2024).
  • Preprocessed data including handling missing values, feature selection, and SMOTE for class imbalance.
  • Trained and optimized a Random Forest classifier using RandomizedSearchCV, deployed via a Flask-based RESTful API.

Main Results:

  • The deployed Random Forest model achieved 79.6% accuracy.
  • The model demonstrated a high recall of 84.1%, indicating strong effectiveness in identifying true diarrhea cases.
  • Successfully created a complete pipeline from data analysis to a deployed, interactive system.

Conclusions:

  • The study successfully demonstrates a complete ML pipeline from data to deployment, offering a practical solution for predicting childhood diarrhea in SSA.
  • The deployed model serves as a tangible tool to aid public health decision-making and reduce child mortality.
  • Future work should focus on model interpretability, scalable deployment technologies (FastAPI, Docker), and field validation with community stakeholders.