Document Type
Article
Publication Date
1-2026
Publisher
BioMed Central (BMC)
Source Publication
Discover Public Health
Source ISSN
3005-0774
Abstract
Aim
Anaemia in children under five remains a major public health concern, contributing significantly to global child morbidity and mortality. With the rise of machine learning (ML), novel opportunities exist to model and predict anaemia more effectively. This study aimed to evaluate and compare the performance of five ML algorithms in predicting anaemia among under-five children in Tanzania.
Methods
We conducted a secondary data analysis using the 2017 Tanzania Malaria Indicator Survey (TMICS). The dataset (n = 5906) was randomly split into training (70%) and test (30%) sets. Five ML algorithms, Linear Discriminant Analysis (LDA), Logistic Regression, Random Forest (RF), Least Absolute Shrinkage and Selection Operator (LASSO), and Ridge Regression were trained using fivefold cross-validation and evaluated on the test set. ROC-AUC, accuracy, precision, recall, and F1-Score metrics were used to assess model performance. Largely sociodemographic variables were used as features, and analyses were performed in both R and Python.
Results
Among the children, 51% were male, 64% were over two years, and 74% resided in rural areas. Anaemia prevalence was 59%. Prediction accuracy ranged from 61 to 62% across models. The precision, recall, and F1-Score metrics were similar across models in the training and test sets, with the exception of the random forest which showed signs of overfitting. AUC values were ~ 67% for all models, except the random forest, which showed AUC value of 60%.
Conclusion
The models largely showed relatively weak performance and discrimination power. Although the model metrics do not suggest clinical utility, the study demonstrates a proof of concept in the potential of ML techniques in modelling childhood anaemia using population health data.
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Recommended Citation
Duah, Henry Ofori; Owusu, Derrick Nyantakyi; Duah, Godwin G.; and Shidende, Paul, "The Performance of Machine Learning Algorithms in Predicting Under-Five Anaemia in Tanzania" (2026). College of Nursing Faculty Research and Publications. 1295.
https://epublications.marquette.edu/nursing_fac/1295
Comments
Published version. Discover Public Health, Vol. 23 (2026). DOI. © The Author(s) 2026. Used with permission.
This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licens es/by-nc-nd/4.0/.