Klasifikasi Status Gizi Bayi sebagai Upaya Deteksi Dini Masalah Gizi Menggunakan Algoritma Naive Bayes
Abstract
The classification of infant nutritional status remains a significant challenge in the utilization of health data, particularly in developing predictive models that are accurate and reliable for supporting decision-making at the primary healthcare level. This study aims to implement the Naïve Bayes algorithm to classify infant nutritional status based on anthropometric indicators, namely weight-for-age (W/A) and height-for-age (H/A). The data used in this study were obtained from Posyandu activity reports at Citra Medika Public Health Center covering the period from 2023 to 2025, with a total of 10,654 infant records. The class distribution in the dataset includes normal, well-nourished, undernourished, severely undernourished, overnourished, and at risk of overnutrition categories. Since the class proportions are relatively balanced, no oversampling technique was applied. The research process involved several stages, including data cleaning, category normalization, class label transformation, and dataset splitting using stratified sampling with a composition of 80% training data and 20% testing data. The evaluation results indicate that the Naïve Bayes model achieved an accuracy of 82%. The precision values were 0.92 for the normal class, 0.39 for the malnutrition class, and 0.14 for the overweight class. The recall values were 0.89 for the normal class, 0.63 for the malnutrition class, and 0.08 for the overweight class. Meanwhile, the F1-scores were 0.83 for the normal class, 0.48 for the malnutrition class, and 0.11 for the overweight class. These findings suggest that the model demonstrates fairly good performance in classifying infant nutritional status based on anthropometric data. Therefore, the Naïve Bayes algorithm can be considered effective for classifying infant nutritional conditions using W/A and H/A indicators. This study is expected to contribute to the development of data-driven systems to enhance analytical quality and support decision-making in primary healthcare services.
Downloads
References
World Health Organization, “Levels and trends in child malnutrition,” World Health Organization (WHO), 2021. [Online]. Available: https://www.who.int/publications/i/item/9789240025257
UNICEF, “Nutrition, For Every Child Global Annual Results Report 2022,” UNICEF: For Every Child, 2023, [Online]. Available: https://www.unicef.org/documents/nutrition-annual-results-2022
H. A. Santoso, N. S. Dewi, S. C. Haw, A. D. Pambudi, and S. A. Wulandari, “Enhancing nutritional status prediction through attention-based deep learning and explainable AI,” Intelligence-Based Medicine, vol. 11, p. 100255, 2025, doi: 10.1016/j.ibmed.2025.100255.
M. L. Arqam, A. A. Firdaus, A. M. Atmojo, and G. Z. Saputri, “Integrating education-based interventions and machine learning for stunting prevention: A case study in East Lombok, Indonesia,” Dialogues in Health., vol. 8, no. 6 , p. 100264, 2026, doi: 10.1016/j.dialog.2025.100264.
W. Widhari, A. Triayudi, and R. T. K. Sari, “Implementation of Naïve Bayes and K-NN Algorithms in Diagnosing Stunting in Children,” SAGA: Journal of Technology and Information System., vol. 2, no. 1, pp. 164–174, 2024, doi: 10.58905/saga.v2i1.242.
J. I. Molina and E. J. Malaikosa, “Application of the Naïve Bayes Algorithm and Radipminer Application to Determine the Nutritional Status of Toddlers,” International Journal of Advanced Technology and Social Sciences., vol. 2, no. 3, pp. 389–402, 2024, doi: 10.59890/ijatss.v2i3.1565.
E. Miranda, M. Aryuni, A. Y. Zakiyyah, Y. E. Kurniawati, A. V. D. Sano, and M. Kumbangsila, “An early prediction model for toddler nutrition based on machine learning from imbalanced data,” Procedia Computer Science., vol. 245, pp. 263–271, 2024, doi: 10.1016/j.procs.2024.10.251.
M. I. Abas, R. Lamusu, W.E. Pranata, I. Ibrahim, W. Hasyim, and V. Kiayi, “Penerapan Algoritma Naive Bayes Untuk Sistem Klasifikasi Status Gizi Bayi Balita,” Bulletin of Computer Science Research., vol. 5, no. 5, pp. 1249–1260, 2025, doi: 10.47065/bulletincsr.v5i5.508.
T. E. Putri, R. T. Subagio, Kusnadi, and P. Sobiki, “Classification System of Toddler Nutrition Status using Naïve Bayes Classifier Based on Z- Score Value and Anthropometry Index,” Journal of Physics: Conference Series., vol. 1641, no. 1, 2020, doi: 10.1088/1742-6596/1641/1/012005.
Y. Saputra, N. Khoirunisa, and S. Arinal Haqq, “Classification of Health and Nutritional Status of Toddlers Using the Naïve Bayes Classification,” CoreID Journal., vol. 1, no. 2, pp. 49–57, 2023, doi: 10.60005/coreid.v1i2.8.
R. A. Subhan, Asriyanik, and F. F. Az Zahra, “Klasifikasi Status Gizi Balita Berdasarkan Tinggi Badan Dan Berat Badan Menggunakan Metode Naive Bayes Di Puskesmas Limusnunggal,” SYNERGY: Jurnal Ilmiah Multidisiplin., vol. 2, no. 1, pp. 51–61, 2024, doi: https://doi.org/10.59585/jimad.
R. Hariyanto, M. Z. Sarwani, and Y. N. Aprilia, “Prediction of Stunting Nutritional Status in Toddlers Using Naïve Bayes Classifier Algorithm,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 10, no. 2, pp. 1111–1117, 2025, doi: 10.29100/jipi.v10i2.5930.
T. Mabukela, P. K. Chelule, and P. Modjadji, “Nutrition and Development of Children in Foundational Learning Spaces in Johannesburg: A Cross-Sectional Study of Dietary Diversity and Nutritional Status,” Applied Sciences (Switzerland)., vol. 15, no. 23, pp. 1–18, 2025, doi: 10.3390/app152312385.
A. Zhang, Z. C. Lipton, M. Li, and A. J. Smola, Dive into Deep Learning. Mexico: Litografica Ingramex, 2024. [Online]. Available: https://books.google.co.id/books?id=vfDiEAAAQBAJ&printsec=copyright&hl=id#v=onepage&q&f=false
G. James, D. Witten, T. Hastie, and O. Tibshirani, An Introduction to Statistical Learning: with Applications in R, 2nd ed. Springer Nature, 2021.
O. Simeone, A Brief Introduction to Machine Learning for Engineers. Foundations and Trends, 2018. [Online]. Available: http://arxiv.org/abs/1709.02840
I. Dewancker, M. McCourt, and S. Clark, “Bayesian Optimization for Machine Learning : A Practical Guidebook,” pp. 1–15, 2016, [Online]. Available: http://arxiv.org/abs/1612.04858
T. Herlambang and V. Asy’ari, “Comparison Of Naive Bayes And K-Nearest Neighbor Models For Identifying The Highest Prevalence Of Stunting Cases In East Java,” Barekeng Jurnal Ilmu Matematika dan Terapan., vol. 18, no. 4, pp. 2153–2164, 2024, doi: 10.30598/barekengvol18iss4pp2153-2164.
A. Rozaq and A. J. Purnomo, “Classification of Stunting Status in Toddlers Using Naive Bayes Method in the City of Madiun Based on Website,” Jurnal Techno Nusa Mandiri, vol. 19, no. 2, pp. 69–76, 2022, doi: 10.33480/techno.v19i2.3337.
M. I. Kamil and A. P. Wibowo, “Implementation of the Naive Bayes Classifier Algorithm for Classifying Toddler Nutritional Status,” Journal of Applied Informatics and Computing., vol. 8, no. 2, pp. 421–427, 2024, doi: 10.30871/jaic.v8i2.8669.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Klasifikasi Status Gizi Bayi sebagai Upaya Deteksi Dini Masalah Gizi Menggunakan Algoritma Naive Bayes
Pages: 799-809
Copyright (c) 2026 Muhammad Rafif AR, Fathoni Fathoni, Ken Ditha Tania, Allsela Meiriza, Ali Ibrahim

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















