Penerapan Explainable AI dan Model Stacking Untuk Mengindentifikasi Faktor Risiko Stunting Balita
Abstract
Stunting remains a nutritional problem in children that is difficult to detect early due to its multifactorial causes and the limitations of conventional analytical approaches. This study aims to develop a stacking-based Machine Learning model for stunting prediction and to implement Explainable Artificial Intelligence (XAI) to interpret the risk factors influencing the prediction outcomes. The methods employed include Decision Tree, Random Forest, and Support Vector Machine (SVM) as base learners, and Logistic Regression as the meta-learner in an ensemble stacking framework, with performance evaluated using accuracy, precision, recall, and F1-score. The results indicate that the Decision Tree algorithm and the Stacking method achieved the best performance with 100% accuracy, while the XAI analysis identified current body weight, birth weight, and age as the primary factors influencing stunting prediction.
Keywords: Stunting; Stacking; Machine Learning; Explainable Artificial Intelligence
Abstrak
Stunting masih menjadi permasalahan gizi pada anak yang sulit dideteksi secara dini karena dipengaruhi oleh berbagai faktor dan keterbatasan analisis konvensional. Penelitian ini bertujuan mengembangkan model stacking berbasis Machine Learning untuk prediksi stunting serta menerapkan Explainable Artificial Intelligence (XAI) dalam menginterpretasikan faktor-faktor risiko yang berpengaruh terhadap hasil prediksi. Metode yang digunakan meliputi algoritma Decision Tree, Random Forest, Support Vector Machine (SVM) sebagai base learner dan Logistic Regression sebagai meta learner pada ensemble stacking, dengan evaluasi menggunakan accuracy, precision, recall, dan F1-score. Hasil penelitian menunjukkan bahwa algoritma Decision Tree dan penerapan metode Stacking menghasilkan kinerja terbaik dengan tingkat akurasi 100%, sementara analisis XAI mengidentifikasi bahwa berat badan, BB lahir, dan usia merupakan faktor utama yang memengaruhi prediksi stunting.
Kata kunci: Stunting; Stacking; Machine Learning; Explainable Artificial Intelligence
References
Kementerian Kesehatan Republik Indonesia., Survei Status Gizi Indonesia (SSGI) 2024 dalam angka. Jakarta: Badan Kebijakan Pembangunan Kesehatan, 2025.
P. A. K. dan Kinerja, Policy Brief Policy Brief, vol. 6, Oktober. Jakarta: Kementerian PPN/Bappenas, 2023.
S. Muliani, B. Sukma Negara, M. Irsyad, I. Iskandar, and J. Teknik Informatika, “Application of Shapley Additive Explanations (SHAP) in Deep Learning for Lung Disease Detection Using X-ray Images,” J. Artif. Intell. Softw. Eng., vol. 5, no. 2, pp. 709–719, 2025, doi: 10.30811/jaise.v5i2.7044.
L. Denna, H. Monasari, and N. Pratiwi, “Klasifikasi Stunting Pada Balita Menggunakan Algoritma Decision Tree Pada Machine Learning,” vol. 5, no. 2, pp. 416–428, 2025.
N. R. Febriyanti, K. Kusrini, and A. D. Hartanto, “Analisis Perbandingan Algoritma SVM, Random Forest dan Logistic Regression untuk Prediksi Stunting Balita,” Edumatic J. Pendidik. Inform., vol. 9, no. 1, pp. 149–158, 2025, doi: 10.29408/edumatic.v9i1.29407.
R. D. Yuniarsih, “Analisis Regresi Logistik Biner dan Random Forest untuk Prediksi Faktor-Faktor Stunting di Pulau Jawa,” Euler J. Ilm. Mat. Sains Dan Teknol. ?, vol. 13, no. 2, pp. 147–156, 2025, [Online]. Available: https://ejurnal.ung.ac.id/index.php/Euler/article/view/31680/10964
M. U. F. M. P, S. Kurniawan, and R. Gustriansyah, “KOMPUTA : Jurnal Ilmiah Komputer dan Informatika Penerapan Metode Decision Tree Dalam Klasifikasi Status Gizi Balita Application of the Decision Tree Method for Classifying the Nutritional Status of Toddlers,” vol. 14, no. 2, pp. 2–10, 2025, doi: 10.34010/komputa.v14i2.
M. Adi, S. Aritonang, M. A. Siregar, S. A. Arnomo, and F. Farasalsabila, “Penerapan Algoritma Metaheuristik untuk Optimasi Nilai K pada KNN Pengelompokan Faktor Stunting,” vol. 5, no. 3, pp. 611–618, 2025.
K. Sakthivel and S. A. Alexander, “An extensive critique on machine learning techniques for fault tolerance and power quality improvement in multilevel inverters,” Energy Reports, vol. 12, August, pp. 5814–5833, 2024, doi: 10.1016/j.egyr.2024.11.016.
A. Wibowo and A. R. Isnain, “Implementasi Algoritma Machine Learning untuk Klasifikasi Suara Lingkungan,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 2, pp. 616–625, 2025, doi: 10.57152/malcom.v5i2.1712.
N. K. Majid, C. Supriyanto, and A. Marjuni, “Peningkatan Keberagaman Data untuk Klasifikasi Penyakit Diabetes Berbasis Stacking Ensemble Learning,” J. Inform. J. Pengemb. IT, vol. 10, no. 1, pp. 1–10, 2025, doi: 10.30591/jpit.v10i1.7375.
G. A. Cynthia Nur Azzahra, Yulison Herry Chrisnanto, “Klasifikasi Cuaca Jawa Barat menggunakan Ensemble Learning pada Data Meteorologi Weather Classification in West Java using Ensemble Learning on,” vol. 14, no. 5, pp. 2028–2044, 2025.
D. M. Rodríguez, M. P. Cuéllar, and D. P. Morales, “On the fusion of soft-decision-trees and concept-based models,” Appl. Soft Comput., vol. 160, February, p. 111632, 2024, doi: 10.1016/j.asoc.2024.111632.
M. D. Lagzi, S. M. sajadi, and M. Taghizadeh-Yazdi, “A hybrid stochastic data envelopment analysis and decision tree for performance prediction in retail industry,” J. Retail. Consum. Serv., vol. 80, February, p. 103908, 2024, doi: 10.1016/j.jretconser.2024.103908.
A. F. Azmi and A. Voutama, “Prediksi Churn Nasabah Bank Menggunakan Klasifikasi Random Forest Dan Decision Tree Dengan Evaluasi Confusion Matrix,” Komputa J. Ilm. Komput. dan Inform., vol. 13, no. 1, pp. 111–119, 2024, doi: 10.34010/komputa.v13i1.12639.
S. N. Sari, P. Annisa, A. Nisa, D. Rahma, R. Prameswara Ritonga, and D. P. Utomo, “Teknik Data Mining Dengan Menggunakan Algoritma Decision Tree Untuk Mengetahui Pola Pemahaman Mahasiswa Pada Matakuliah Pemrograman,” Bull. Inf. Technol., vol. 6, no. 4, pp. 417–431, 2025, doi: 10.47065/bit.v5i2.2339.
G. Grimmer, R. Wenger, G. Forestier, and V. Chardon, “Automatic detection of in-stream river wood from random forest machine learning and exogenous indices using very high-resolution aerial imagery,” Environ. Model. Softw., vol. 190, February, p. 106460, 2025, doi: 10.1016/j.envsoft.2025.106460.
J. Zhang, “Impact of an improved random forest-based financial management model on the effectiveness of corporate sustainability decisions,” Syst. Soft Comput., vol. 6, February, p. 200102, 2024, doi: 10.1016/j.sasc.2024.200102.
S. T. Hamidou and A. Mehdi, “Enhancing IDS performance through a comparative analysis of Random Forest, XGBoost, and Deep Neural Networks,” Mach. Learn. with Appl., vol. 22, May, p. 100738, 2025, doi: 10.1016/j.mlwa.2025.100738.
J. P. Anggraini, Chaya Gladys Zhafirah A, and A. Desiani, “Perbandingan Algoritma Random Forest dan Extreme Gradient Boosting (XGBoost) dalam Klasifikasi Penyakit Gagal Jantung,” Komputika J. Sist. Komput., vol. 14, no. 2, pp. 149–157, 2025, doi: 10.34010/komputika.v14i2.16618.
S. Zhao, X. Liang, L. Wang, H. Zhang, G. Li, and J. Chen, “A fault diagnosis method for analog circuits based on EEMD-PSO-SVM,” Heliyon, vol. 10, no. 18, p. e38064, 2024, doi: 10.1016/j.heliyon.2024.e38064.
A. Kumar, N. Gaur, and A. Nanthaamornphong, “Machine learning RNNs, SVM and NN Algorithm for Massive-MIMO-OTFS 6G Waveform with Rician and Rayleigh channel,” Egypt. Informatics J., vol. 27, July, p. 100531, 2024, doi: 10.1016/j.eij.2024.100531.
W. An, B. Gao, J. Liu, J. Ni, and J. Liu, “Predicting hourly heating load in residential buildings using a hybrid SSA–CNN–SVM approach,” Case Stud. Therm. Eng., vol. 59, May, 2024, doi: 10.1016/j.csite.2024.104516.
D. N. Ayu Ofta Sari, Muhammad Iqbal, “Analisis Faktor Demografi Dan Sosial Ekonomi Untuk Mendeteksi Dini Risiko Putus Kuliah Menggunakan Metode Support Vector Machine (Svm) Dan Decision Tree (Studi Kasus : STMIK Triguna Dharma),” J. Multimed, vol. 07, no. 02, p. 17, 2025, [Online]. Available: http://www.journal.cattleyadf.org/index.php/jatilima/article/view/1439%0Ahttp://www.journal.cattleyadf.org/index.php/jatilima/article/download/1439/797
G. Zeng, “A comprehensive study of coefficient signs in weighted logistic regression,” Heliyon, vol. 10, no. 15, p. e35040, 2024, doi: 10.1016/j.heliyon.2024.e35040.
T. M. Saunders, N. Cohn, and T. Hesser, “Insights into nearshore sandbar dynamics through process-based numerical and logistic regression modeling,” Coast. Eng., vol. 192, June, p. 104558, 2024, doi: 10.1016/j.coastaleng.2024.104558.
A. Balboa, A. Cuesta, J. González-Villa, G. Ortiz, and D. Alvear, “Logistic regression vs machine learning to predict evacuation decisions in fire alarm situations,” Saf. Sci., vol. 174, February, 2024, doi: 10.1016/j.ssci.2024.106485.
F. D. Pramakrisna, F. D. Adhinata, and N. A. F. Tanjung, “Aplikasi Klasifikasi SMS Berbasis Web Menggunakan Algoritma Logistic Regression,” Teknika, vol. 11, no. 2, pp. 90–97, 2022, doi: 10.34148/teknika.v11i2.466.
Y. Zhang, C. Chen, F. Guo, and H. Wang, “Geographical origin identification of dendrobium officinale based on NNRW-stacking ensembles,” Mach. Learn. with Appl., vol. 18, September, p. 100594, 2024, doi: 10.1016/j.mlwa.2024.100594.
M. Rahman, N. Kamal, and N. F. Abdullah, “EDT-STACK: A stacking ensemble-based decision trees algorithm for tire tread depth condition classification,” Results Eng., vol. 22, May, p. 102218, 2024, doi: 10.1016/j.rineng.2024.102218.
M. Dostmohammadi, M. Z. Pedram, S. Hoseinzadeh, and D. A. Garcia, “A GA-stacking ensemble approach for forecasting energy consumption in a smart household: A comparative study of ensemble methods,” J. Environ. Manage., vol. 364, June, p. 121264, 2024, doi: 10.1016/j.jenvman.2024.121264.
N. O. Syamsiah and I. Purwandani, “Penerapan Metode Stacking Untuk Meningkatkan Akurasi Hasil Peramalan Konsumsi Listrik,” J. Syst. Comput. Eng., vol. 4, no. 1, pp. 15–25, 2023, doi: 10.47650/jsce.v4i1.665.
L. P. Di Bonito, L. Campanile, M. Iacono, and F. Di Natale, “An eXplainable Artificial Intelligence framework to predict marine scrubbers performances,” Eng. Appl. Artif. Intell., vol. 160, December, p. 111860, 2025, doi: 10.1016/j.engappai.2025.111860.
I. Vega-Rebolledo, A. J. Sánchez-García, J. J. Muñoz León, J. O. Ocharán-Hernández, and K. Cortés-Verdín, “Applying survival analysis and Explainable Artificial Intelligence to understand academic success in software engineering students,” Array, vol. 28, July, p. 100540, 2025, doi: 10.1016/j.array.2025.100540.
A. Mohamed, K. Abdelqader, and K. Shaalan, “Explainable Artificial Intelligence: A systematic Review of Progress and Challenges,” Intell. Syst. with Appl., vol. 28, August, p. 200595, 2025, doi: 10.1016/j.iswa.2025.200595.
M. Chen, E. Zhao, L. Zhang, S. Zhang, and Y. Li, “Interpretable stacking-SHAP prediction model for dam deformation during long term operation,” Mech. Syst. Signal Process., vol. 242, p. 236, September 2025, 2026, doi: 10.1016/j.ymssp.2025.113646.
How To Cite This :
Refbacks
- There are currently no refbacks.









