Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 23:13:1513922.
doi: 10.3389/fpubh.2025.1513922. eCollection 2025.

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

Affiliations

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

Tirualem Zeleke Yehuala et al. Front Public Health. .

Abstract

Background: 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.

Methods: 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.

Results: 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.

Conclusion: 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.

Keywords: East Africa; determinants; diarrhea; feeding practice; machine learning model; prediction.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

Bar chart showing important features with their coefficients, selected by the fast recursive elimination technique.
Figure 1
Important determinates selected by RFE.
ROC curve comparing among four models.
Figure 2
AUC curve for selected machine learning model.
Calibration plot for random forest model showing the fraction of positive vs mean predicted probability.
Figure 3
Calibration plot for the Random Forest model.
Waterfall chart showing the impact of various determinants on model prediction.
Figure 4
Waterfall plot displaying prediction of the zero index observation.
Bar chart illustrating the effects of various determinants on model output.
Figure 5
Waterfall plot displaying prediction of the 1st observation.
Bar chart showing important determinants sensitivity analysis in random frost model.
Figure 6
Sensitivity analysis with SHAP values.

Similar articles

References

    1. Olopha OO, Egbewale B. Awareness and knowledge of diarrhoeal home management among mothers of under-five in Ibadan, Nigeria. Univ J Public Health. (2017) 5:40–5. 10.13189/ujph.2017.050106 - DOI
    1. World Health Organization . Diarrhoeal Disease: Fact Sheets. (2017). Available online at: https://www.who.int/news-room/fact-sheets/detail/diarrhoeal-disease#:~:t... (Accessed October 11, 2024).
    1. Rahman AMR, Islam MR, Bashar SJ, Al Fidah MF, Amin R, Rahman MM, et al. Trends in preventive practices against diarrhoeal disease among under-five children: experience from the largest diarrhoeal disease hospital in Bangladesh. BMJ Paediatrics Open. (2025) 9:e003259. 10.1136/bmjpo-2024-003259 - DOI - PMC - PubMed
    1. Okoro C, Ikediuwa U, Mgbudem F, Uwabunkonye B, Osondu B. Estimation of levels and trends of under-five mortality in sub-saharan africa: evidence from summary of birth histories of currently married women. Asian J Prob Stat. (2020) 7:17–27. 10.9734/ajpas/2020/v7i230176 - DOI
    1. You D, Hug L, Ejdemyr S, Idele P, Hogan D, Mathers C, et al. Global, regional, and national levels and trends in under-5 mortality between 1990 and 2015, with scenario-based projections to 2030: a systematic analysis by the UN Inter-agency Group for Child Mortality Estimation. Lancet. (2015) 386:2275–86. 10.1016/S0140-6736(15)00120-8 - DOI - PubMed

LinkOut - more resources