Prediction of Stunting in Toddlers Using Bagging and Random Forest Algorithms


  • Juwariyem Insitut Informatika dan Bisnis Darmajaya
  • Sriyanto Institut Informatika dan Bisnis Darmajaya
  • Sri Lestari Institut Informatika dan Bisnis Darmajaya
  • Chairani Institut Informatika dan Bisnis Darmajaya




Prediction, Stunting, Bagging, Random Forest


Stunting is a condition of failure to thrive in toddlers. This is caused by lack of nutrition over a long period of time, exposure to repeated infections, and lack of stimulation. This malnutrition condition is influenced by the mother's health during pregnancy, the health status of adolescents, as well as the economy and culture and the environment, such as sanitation and access to health services. To find out predictions of stunting, currently we still use a common method, namely Secondary Data Analysis, namely by conducting surveys and research to collect data regarding stunting. This data includes risk factors related to stunting, such as maternal nutritional status, child nutritional intake, access to health services, sanitation, and other socioeconomic factors. This secondary data analysis can provide an overview of the prevalence of stunting and the contributing factors. To overcome this, the right solution is needed, one solution that can be used is data mining techniques, where data mining can be used to carry out analysis and predictions for the future, and provide useful information for business or health needs. Based on this analysis, this research will use the Bagging method and Random Forest Algorithm to obtain the accuracy level of stunting predictions in toddlers. Bagging or Bootstrap Aggregation is an ensemble method that can improve classification by randomly combining classifications on the training dataset which can reduce variation and avoid overfitting. Random Forest is a powerful algorithm in machine learning that combines decisions from many independent decision trees to improve prediction performance and model stability. By combining the Bagging method and the Random Forest algorithm, it is hoped that it will be able to provide better stunting prediction results in toddlers. This research uses a dataset with a total of 10,001 data records, 7 attributes and 1 attribute class. Based on the test results using the Bagging method and the Random Forest algorithm in this research, the results obtained were class precision yes 91.72%, class recall yes 98.84%, class precision no 93.55%, class recall no 65.28%, and accuracy of 91.98%.

GS Cited Analysis


Download data is not yet available.


About the Authors. (2012). Data Mining, 2004, xxxv.

Adityaningrum, A., Arsad, N., & Jusuf, H. (2023). Faktor Penyebab Stunting di Indonesia : Analisis Data Sekunder Data SSGI Tahun 2021. Jambura Journal of Epidemiology, 3(1), 1–10.

Asian Development Bank. (2021). Prevalensi Stunting di Asia Tenggara.

Fitriyani, F. (2022). Implementasi Forward Selection dan Bagging untuk Prediksi Kebakaran Hutan Menggunakan Algoritma Naïve Bayes. Jurnal Nasional Teknologi Dan Sistem Informasi, 8(1), 1–8.

Https:// (n.d.). No Title.

Kotsiantis, S., Kanellopoulos, D., & Pintelas, P. (2006). Handling imbalanced datasets : A review. Science, 30(1), 25–36.

Kuhn, M., & Johnson, K. (2013). Applied Predictive Modeling with Applications in R. In Springer (Vol. 26).

Pan, Y., & Tang, Z. (2014). Ensemble methods in bank direct marketing. 11th International Conference on Service Systems and Service Management, ICSSSM 2014 - Proceeding, August, 1–5.

Rahmawati, E., & Agustina, C. (2020). Implementasi Teknik Bagging untuk Peningkatan Kinerja J48 dan Logistic Regression dalam Prediksi Minat Pembelian Online. Jurnal Teknologi Informasi Dan Terapan, 7(1), 16–19.

Ramadani, E. W. O. R. (2021). Angka Stunting Balita di Indonesia Masih Tinggi. In Kampus Institut Teknologi Sepuluh Nopember Surabaya (pp. 1–1).

Sewell, M. (2007). Ensemble methods - Zhou (Vol. 2, Issue Schapire 1990).


Crossmark Updates

How to Cite

Juwariyem, Sriyanto, Sri Lestari, & Chairani. (2024). Prediction of Stunting in Toddlers Using Bagging and Random Forest Algorithms. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(2), 947-955.