Optimization Performance of Extreme Gradient Boosting and Random Forest for Child Stunting Classification Based on Economic Factors
DOI:
https://doi.org/10.52436/1.jutif.2026.7.3.5864Keywords:
Child Stunting, Economic Factors, Random Forest, XGBoost, OptimizationAbstract
Stunting remains a major health concern in Indonesia due to its impact on children’s physical growth and cognitive development. One of the factors influencing the incidence of stunting is family economic status, which is linked to access to nutrition, sanitation, and a healthy environment. This study aims to optimize the performance of the XGBoost and Random Forest algorithms in classifying stunting in children based on economic factors and to compare the performance of the two models. The methods used in this study involve a machine learning approach, including data preprocessing, model training, hyperparameter optimization, and performance evaluation using a confusion matrix, accuracy, precision, recall, F1-score, and ROC-AUC curves. The results indicate that both algorithms perform well in classification, with an accuracy rate of approximately 70%. The Random Forest model demonstrated better performance than XGBoost with an AUC value of 0.7655, while XGBoost had an AUC value of 0.75. Additionally, the feature importance results indicated that economic and environmental factors, such as housing conditions and sanitation, have a significant influence on the incidence of stunting.
Downloads
References
S. H. Marpaung, F. M. Sinaga, K. H. Rambe, and F. M. Sinaga, “Random Forest Optimization Using Recursive Feature Elimination for Stunting Classification,” vol. 8, no. 1, pp. 281–287, 2025.
T. Sugihartono, B. Wijaya, A. F. Alkayes, and H. A. Anugrah, “Optimizing Stunting Detection through SMOTE and Machine Learning : a Comparative Study of XGBoost , Random Forest , SVM , and k-NN,” vol. 6, no. 1, pp. 667–682, 2025.
A. Subekti, “Comparative Analysis of Automated Machine Learning Methods for Multiclass Stunting Prediction Using Anthropometric Data,” vol. 10, no. 2, pp. 991–1002, 2026.
M. Anggito, H. Hadisuwarno, and K. T. Martono, “Komparasi performa model machine learning algoritma XGBoost dan Random Forest pada studi kasus mendeteksi stunting,” vol. 22, no. 2, pp. 266–278, 2025.
D. M. Puspita, K. I. Santoso, A. Triyono, E. Supriyadi, and S. Agus, “Algoritma Random Forest , Decision Tree dan XGboost Untuk Klasifikasi Stunting Pada Balita,” vol. 23, no. 1, pp. 67–76, 2025.
A. Birara et al., “Prediction of stunting and its socioeconomic determinants among adolescent girls in Ethiopia using machine learning algorithms,” pp. 1–27, 2025, doi: 10.1371/journal.pone.0316452.
M. I. Elim and E. Utami, “Performance Comparison of Child Stunting Prediction Support Vector Machine vs Random Forest with Grid Search Optimization,” vol. 6, no. 5, pp. 5305–5319, 2025.
J. Pierre, G. Nduwayezu, P. Zhao, P. Pilesj, and A. Mansourian, “Environmental and Sustainability Indicators Multilevel small-area childhood stunting risk estimation : Insights from spatial ensemble learning , agro-ecological and environmentally remotely sensed indicators,” vol. 27, no. July, 2025, doi: 10.1016/j.indic.2025.100822.
F. A. Wicaksana and C. Umam, “Comparative Analysis of Random Forest and Xgboost Performance for Network Flow Based Malware Classification,” vol. 11, no. 1, pp. 108–115, 2026.
M. As and E. R. Subhiyakto, “Performance Comparison of Random Forest , SVM , and XGBoost Algorithms with SMOTE for Stunting Prediction,” vol. 9, no. 4, pp. 1163–1169, 2025.
W. Richard, P. Thangata, B. Mkandawire, and N. Amoah, “Human Nutrition & Metabolism Advancing predictive analytics in child malnutrition : Machine , ensemble and deep learning models with balanced class distribution for early detection of stunting and wasting,” Hum. Nutr. Metab., vol. 42, no. June, p. 200340, 2025, doi: 10.1016/j.hnm.2025.200340.
M. Lailan, A. Azzawagama, A. Muslih, G. Zukhruf, and R. Sirnopati, “Dialogues in Health Integrating education-based interventions and machine learning for stunting prevention : A case study in East Lombok , Indonesia,” Dialogues Heal., vol. 8, no. December 2024, p. 100264, 2026, doi: 10.1016/j.dialog.2025.100264.
F. Putrawansyah and M. Y. Idris, “Improving the Accuracy of Stunting Prediction in Children in Pagar Alam City Using XGBoost Feature Selection and K-Nearest Neighbor Classification,” vol. 6, no. 6, pp. 5882–5898, 2025.
U. Children and P. New, “Machine Learning Algorithms for Predicting Stunting among Under-Five Children in Papua New Guinea,” 2023.
H. G. Meles and J. Beyene, “Machine Learning Prediction of Child Stunting and Wasting in Ethiopia Using DHS Data : XGBoost and Random Forest Models with SHAP Interpretability.”
S. Sallu, “Random Forest Machine Learning Analysis of Generative AI ’ s Impact on Learning Effectiveness in Indonesian Higher Education,” vol. 6, no. 5, pp. 3635–3651, 2025.
A. Hendy, R. K. Ibrahim, S. Mohammed, F. Abdelaliem, and A. Zaher, “Supervised machine learning for classification and prediction of stunting among under-five Egyptian children,” 2025.
I. Syahfitri, A. P. Juledi, and R. Muti, “Comparative Analysis of Machine Learning Algorithm Performance in Predicting Stunting in Toddlers,” vol. 8, no. 3, pp. 1452–1462, 2024.
N. Matovu, D. Ph, N. Kizito, M. Sc, M. Aljohani, and D. Ph, “Understanding household economic in fl uences on child stunting : A cross-sectional study in Eastern Uganda,” Nutrition, vol. 147, p. 113187, 2026, doi: 10.1016/j.nut.2026.113187.
M. K. Ayele, G. A. Baye, and S. H. Yesuf, “Predicting stunting status among under five children in ethiopia using ensemblemachine learning algorithms,” pp. 1–11, 2025.
T. Hariguna and A. Azis, “Health and Socio-Demographic Risk Factors of Childhood Stunting : Assessing the Role of Factor Interactions Through the Development of an AI Predictive Model,” vol. 5, no. 4, pp. 2175–2186, 2024.
A. R. Lubis, D. Wulandari, T. Ariyani, and Y. Y. Lase, “A COMPARATIVE STUDY OF PIPELINE-VALIDATED MACHINE LEARNING CLASSIFIERS FOR PERMISSION-BASED ANDROID MALWARE DETECTION,” vol. 20, no. 2, pp. 1675–1692, 2026.
A. Naik, “OPEN SGO enhanced random forest and extreme gradient boosting framework for heart disease prediction,” pp. 1–31, 2025.
Soni, M. A. Remli, K. M. Daud, and J. Al Amien, “Improving imbalanced class intrusion detection in IoT with ensemble learning and ADASYN-MLP approach,” Indones. J. Electr. Eng. Comput. Sci., vol. 36, no. 2, pp. 1209–1217, 2024, doi: 10.11591/ijeecs.v36.i2.pp1209-1217.
M. S. Novelan and S. Aryza, “Optimization Cvrp With Machine Learning for Improved Classification of Imbalanced Data Food Distribution,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 10, no. 4, pp. 917–925, 2025, doi: 10.33480/jitk.v10i4.6467.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Yuyun Yusnida Lase, Purwa Hasan Putra, Arif Ridho Lubis, Santi Prayudani

This work is licensed under a Creative Commons Attribution 4.0 International License.





