# Machine learning algorithms to predict feeding practices during diarrheal disease and its determinants among under-five children in East Africa

**Authors:** Tirualem Zeleke Yehuala, Nebebe Demis Baykemagn, Bewuketu Terefe

PMC · DOI: 10.3389/fpubh.2025.1513922 · 2025-07-23

## TL;DR

This study uses machine learning to predict feeding practices during diarrhea in under-five children in East Africa and identifies key factors influencing these practices.

## Contribution

The novel use of machine learning to model and predict feeding practices during diarrheal disease in East African children.

## Key findings

- Random Forest achieved the highest performance with 97.86% accuracy in predicting feeding practices.
- Household wealth, maternal education, and health-seeking behavior were positively associated with improved feeding practices.
- Only 11 out of 100 children received acceptable feeding practices during diarrhea episodes.

## Abstract

Diarrhea is the leading cause of childhood malnutrition. Although replacement, continued feeding, and increasing appropriate fluid at home during diarrhea episodes are the cornerstones of treatment packages, food and fluid restrictions are common during diarrheal illnesses in Africa. To fill the methodological and current evidence gaps, this study aimed to build models and predict determinants to increase feeding practices of children in East Africa during diarrheal outbreaks.

We used the most recent demographic and health survey (DHS) statistics from 12 East African nations collected between 2012 and 2023. The analyses included a total weighted sample of 20,059 children aged 5 years. Python software was utilized for data processing and machine learning model building. We employed four ML algorithms, such as Random Forest (RF), Decision Tree (DT), XGB (Extreme Gradient Boosting), and Logistic Regression (LR). In this work, we evaluated the predictive models' performance using performance assessment criteria such as accuracy, precision, recall, and the AUC curve.

In this study, 20,059 children aged 5 years were used in the final analysis. Among the proposed machine learning models, random forest performed best overall in the proposed classifier, with an accuracy of 97.86%, precision of 98%, recall of 77%, F-measure of 86%, and AUC curve of 97%. The most significant determinants of increasing feeding practice were richest household, faculty delivery, use of modern contraception method, the number of children 3–5, women's employment status, maternal age is 25–34, having media exposure, and health-seeking decisions made by mothers were associated positively, whereas not using contraception, home delivery, the total number of children is large, and the sex of the household was male, which was associated negatively with feeding practice during diarrhea in East Africa.

Machine learning (ML) algorithms have provided valuable insights into the complex factors influencing feeding practices during diarrheal disease in under-five children in East Africa. During diarrhea, only 11 of the 100 children received acceptable child feeding practices. More than one-third of the patients received less than usual or nothing. Reducing diarrhea-related child mortality by improving diarrhea management practices is recommended, particularly focusing on the identified aspects.

## Linked entities

- **Diseases:** diarrhea (MONDO:0001673)

## Full-text entities

- **Diseases:** diarrheal disease (MESH:D004403), Diarrhea (MESH:D003967), malnutrition (MESH:D044342)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12329795/full.md

---
Source: https://tomesphere.com/paper/PMC12329795