Optimalisasi Hyperparameter Random Forest Menggunakan Random Search untuk Klasifikasi Risiko Stunting Pada Balita


  • Putri Windari Universitas Muhammadiyah Bima, Bima, Indonesia
  • Khairunnas Khairunnas Universitas Muhammadiyah Bima, Bima, Indonesia
  • Irma Eryanti Putri * Mail Universitas Muhammadiyah Bima, Bima, Indonesia
  • (*) Corresponding Author
Keywords: Stunting; Machine Learning; Random Forest; Random Search; Stunting Risk

Abstract

Stunting is a condition of impaired child growth resulting from chronic nutritional deficiency over an extended period. This condition not only hinders physical growth but also impedes learning abilities and increases the risk of various future diseases. The high prevalence of stunting in Bima City highlights the need to utilize Machine Learning methods to analyze stunting risk factors more accurately. This study aims to optimize the performance of the Random Forest algorithm using the Random Search method to classify stunting risk among children under five in Sambinae Urban Village, Bima City. The dataset comprises records for 1,162 children under five, featuring 20 attributes obtained from the Mpunda Community Health Center (Puskesmas) in Bima City. The research stages include data collection, preprocessing, data splitting, construction of a baseline Random Forest model, hyperparameter optimization using Random Search, evaluation via a Confusion Matrix (based on Accuracy, Precision, Recall, and F1-Score), and feature importance analysis. Prior to optimization, the baseline Random Forest model yielded an accuracy of 70,39%, precision of 56,67%, recall of 62,96%, and an F1-score of 59,65%. Following optimization with Random Search, model performance improved to an accuracy of 71,67%, precision of 58,43%, recall of 64,20%, and an F1-score of 61,18%. The results demonstrate that hyperparameter optimization using Random Search effectively enhances the Random Forest model's performance in classifying stunting risk. The study contributes a stunting risk classification model based on the Random Forest algorithm, optimized via Random Search to achieve a more effective hyperparameter combination than the default settings. Furthermore, the study provides a comparative performance analysis before and after optimization, along with insights into the variables that most significantly influence stunting risk classification. These findings are expected to assist healthcare professionals and local government authorities in identifying stunting risks more rapidly and accurately, thereby serving as a foundation for formulating more targeted prevention strategies.

Downloads

Download data is not yet available.

References

A. Suryawan, “Malnutrition in early life and its neurodevelopmental and cognitive consequences : a scoping review,” Nutr. Res. Rev., vol. 35, pp. 136–149, 2022, doi: 10.1017/S0954422421000159.

A. T. Mulyani, M. A. Khairinisa, and A. Khatib, “Understanding Stunting : Impact , Causes , and Strategy to Accelerate Stunting Reduction — A Narrative Review,” Nutrients, vol. 17, no. 9, p. 1493, 2025, doi: org/10.3390/nu17091493.

S. Ramadoan, “Model Intervensi Terpadu dalam Mengatasi Prevalensi Stunting di Kota Bima,” JGLP, vol. Vol 6 No 2, pp. 229–239, 2024, doi: org/10.47650/jglp.v6i2.1562.

N. F. Sahamony and H. Rianto, “Analysis of Performance Comparison of Machine Learning Models for Predicting Stunting Risk in Children ’ s Growth Analisis Perbandingan Kinerja Model Machine Learning untuk Memprediksi Risiko Stunting pada Pertumbuhan Anak,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 4, no. April, pp. 413–422, 2024, doi: org/10.57152/malcom.v4i2.1210.

J. R. Khan, J. H. Tomal, and E. Raheem, “Model and variable selection using machine learning methods with applications to childhood stunting in Bangladesh,” Informatics Heal. Soc. Care, vol. 00, no. 00, pp. 1–18, 2021, doi: 10.1080/17538157.2021.1904938.

M. K. Ayele, G. A. Baye, and S. H. Yesuf, “Predicting stunting status among under five children in ethiopia using ensemblemachine learning algorithms,” scientificreports, vol. 15, pp. 1–11, 2025, doi: org/10.1038/s41598-025-03206-1 3.

A. J. Wahidin and T. H. Andika, “Deteksi Dini Stunting Pada Anak Berdasarkan Indikator Antropometri dengan Menggunakan Algoritma Machine Learning,” J. Algoritm., vol. 21 No. 2, pp. 378–387, 2024, doi: 10.33364/algoritma/v.21-2.2122.

H. Z. and Y. J. Shen, Hao, “Machine Learning Algorithms for Predicting Stunting among Under-Five Children in Papua New Guinea,” Children, vol. 10, pp. 1–18, 2023, doi: org/10.3390/children10101638.

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,” J. Pustaka AI, vol. Vol . 5 No, pp. 611–618, 2025, doi: doi.org/10.55382/jurnalpustakaai.v5i3.1367.

D. A. Anggoro, “Performance Comparison of Grid Search and Random Search Methods for Hyperparameter Tuning in Extreme Gradient Boosting Algorithm to Predict Chronic Kidney Failure,” nternational J. Intell. Eng. Syst., vol. 14, no. 6, pp. 198–207, 2021, doi: 10.22266/ijies2021.1231.19.

O. N. Chilyabanyama et al., “Performance of Machine Learning Classifiers in Classifying Stunting among Under-Five Children in Zambia,” Children, vol. 9, pp. 1–11, 2022, doi: 10.3390/children9071082.

A. Tawakuli and T. Engel, “Make your data fair : A survey of data preprocessing techniques that address biases in data towards fair AI,” J. Eng. Res., vol. 13, no. 3, pp. 2362–2369, 2025, doi: 10.1016/j.jer.2024.06.016.

T. N. Id, K. Mengersen, D. Sous, and B. Liquet, “SMOTE-CD : SMOTE for compositional data,” PLoS One, vol. 18, no. June, pp. 1–19, 2023, doi: 10.1371/journal.pone.0287705.

H. A. Salman, A. Kalakech, and A. Steiti, “Random Forest Algorithm Overview,” Babylonian J. Mach. Learn., vol. 2024, pp. 69–79, 2024, doi: org/10.58496/BJML/2024/007.

F. Hosseini, C. Prieto, and C. Alvarez, “Hyperparameter optimization of regional hydrological LSTMs by random search : A case study from Basque Country , Spain,” J. Hydrol. J., vol. 643, no. April, 2024, doi: 10.1016/j.jhydrol.2024.132003.

J. Saputra, C. Lawrencya, J. M. Saini, and S. Suharjito, “Hyperparameter optimization for cardiovascular disease data ‑ driven prognostic system,” Vis. Comput. Ind. Biomed. Art, vol. 6, 2023, doi: 10.1186/s42492-023-00143-6.

R. Andonie and A. C. Florea, “CCC Publications Weighted Random Search for CNN Hyperparameter Optimization,” Int. J. Comput. Commun. Control, vol. 15, no. 2, p. 3868, 2020, doi: 10.15837/ijccc.2020.2.3868.

D. Chicco, N. Tötsch, and G. Jurman, “The Matthews correlation coefficient ( MCC ) is more reliable than balanced accuracy , bookmaker informedness , and markedness in two-class confusion matrix evaluation,” BioData Min., vol. 14, pp. 1–22, 2021, doi: org/10.1186/s13040-021-00244-z.

F. B. Streamlit, D. Aprilianto, and E. Rizal, “Klasifikasi Penyakit Kanker Paru Menggunakan Algoritma Random Forest,” METIK J., vol. 9 NOMOR.2, pp. 275–283, 2025, doi: 10.47002/metik.v9i2.1076.

M. Algoritma, S. V. M. Dan, R. Forest, and F. N. Firzatullah, “Analisis Sentimen Pengguna Aplikasi Byond BSI Pada Google Play Store,” METIK J., vol. 9 Nomor.2, pp. 356–363, 2025, doi: 10.47002/metik.v9i2.1089.

E. Helmud, E. Helmud, and P. Romadiana, “Classification Comparison Performance of Supervised Machine Learning Random Forest and Decision Tree Algorithms Using Confusion Matrix,” J. SISFOKOM (Sistem Inf. dan Komputer), vol. 13, pp. 92–97, 2024, doi: 10.32736/sisfokom.v13i1.1985.

M. Reyhansyah, D. Putra, A. Winata, M. A. Fathir, and Y. W. Prabowo, “Analisa Kerentanan Web Application Menggunakan Metode OWASP,” J. MEDIA Inform., vol. 7, no. 1, pp. 476–487, 2026, doi: doi.org/10.55338/jumin.v7i1.8273.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Optimalisasi Hyperparameter Random Forest Menggunakan Random Search untuk Klasifikasi Risiko Stunting Pada Balita

Dimensions Badge
Article History
Submitted: 2026-06-30
Published: 2026-07-21
Abstract View: 42 times
PDF Download: 34 times
How to Cite
Windari, P., Khairunnas, K., & Putri, I. (2026). Optimalisasi Hyperparameter Random Forest Menggunakan Random Search untuk Klasifikasi Risiko Stunting Pada Balita. Journal of Information System Research (JOSH), 7(4), 1202-1211. https://doi.org/10.47065/josh.v7i4.10531
Issue
Section
Articles