Evaluasi Perbandingan Model XGBoost, Random Forest, LightGBM, dan Artificial Neural Network dalam Klasifikasi Kerawanan Pangan

Mardatunnisa Isnaini, Dela Gustiara, Rizqi Annafi Muhadi, Shalshabilla Shafa, Bagus Sartono, Aulia Rizki Firdawanti, Budi Susetyo, Gerry Alfa Dito

Abstract


Food insecurity remains a serious household-level issue, particularly in densely populated regions such as West Java, highlighting the need for analytical approaches capable of accurately identifying vulnerable groups. Machine learning algorithms offer the potential to improve the accuracy and precision of food insecurity classification based on survey data. This study aims to compare the predictive performance and variable importance identification of four machine learning algorithms—Random Forest, Light Gradient Boosting Machine (LightGBM), Extreme Gradient Boosting (XGBoost), and Artificial Neural Network (ANN)—in predicting household food insecurity status. The analysis employs SUSENAS 2023 data covering 26,012 households with 14 predictor variables, and food insecurity is classified using the Food Insecurity Experience Scale (FIES). Class imbalance is addressed using the Synthetic Minority Over-sampling Technique (SMOTE) within a 10-fold cross-validation framework. The results show that XGBoost achieves the highest accuracy of 71%, while Random Forest provides the best balanced accuracy under the SMOTE scenario. Moreover, all algorithms consistently identify the Wealth Index as the most influential predictor based on their respective Variable Importance measures, followed by variables related to water access and food assistance. Accordingly, XGBoost is recommended in terms of accuracy, whereas Random Forest demonstrates superior balanced accuracy and prediction stability.

Keywords


Food Insecurity; Machine Learning; SMOTE

Full Text:

PDF

References


FAO, IFAD, UNICEF, WFP, and WHO, The State of Food Security and Nutrition in the World 2025, 2025, doi: 10.4060/cd6008en.

H. Dharmawan, B. Sartono, A. Kurnia, A. F. Hadi, and E. Ramadhani, “A study of machine learning algorithms to measure the variable importance in class-imbalance data of food insecurity cases in Indonesia,” Communications in Mathematical Biology and Neuroscience, pp. 1–25, 2022, doi: 10.28919/cmbn/7636.

M. Mengstie, “Developing the predictive model for the level of food insecurity status of households using ensemble machine learning techniques with XAI,” pp. 1–15, 2024, doi: 10.21203/rs.3.rs-5561434/v1.

Badan Pusat Statistik Provinsi Jawa Barat, “Persentase penduduk miskin Provinsi Jawa Barat September 2024 turun menjadi 7,08 persen,” 2025. [Online]. Available: https://jabar.bps.go.id

. [Accessed: Feb. 17, 2026].

T. Pujilestari and T. Haryanto, “Determinants of household food security in West Nusa Tenggara, Indonesia,” ECONOSAINS, vol. 18, pp. 24–38, 2020, doi: 10.21009/econosains.0181.03.

K. N. Khikmah, B. Sartono, B. Susetyo, and G. A. Dito, “Performance comparative study of machine learning classification algorithms for food insecurity experience by households in West Java,” vol. 9, no. 1, pp. 128–137, 2024, doi: 10.15575/join.v9i1.1012.

R. Qasrawi et al., “Machine learning approach for predicting the impact of food insecurity on nutrient consumption and malnutrition in children aged 6 months to 5 years,” Children, vol. 11, Art. no. 810, Jul. 2024, doi: 10.3390/children11070810.

Y. M. Indah et al., “Comparison of random forest, XGBoost, and LightGBM methods for the human development index classification,” Jambura Journal of Mathematics, vol. 7, no. 1, 2025, doi: 10.37905/jjom.v7i1.28290.

E. Indrisari, H. Febiansyah, and B. Adiwinoto, “A systematic literature review on the application of machine learning for predicting stunting prevalence in Indonesia (2020–2024),” Jurnal Sisfokom, vol. 14, no. 3, pp. 277–283, 2025, doi: 10.32736/sisfokom.v14i3.2366.

E. Yuliani, B. Sartono, H. Wijayanto, A. F. Hadi, and E. Ramadhani, “Study of features importance level identification of machine learning classification model in sub-populations for food insecurity,” AIP Conference Proceedings, 2022, doi: 10.1063/5.0111784.

G. Ke et al., “LightGBM: A highly efficient gradient boosting decision tree,” in Proc. 31st Int. Conf. Neural Information Processing Systems (NIPS), 2017, pp. 3149–3157.

T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.

R. Supergiants et al., “Evolution,” Galaxies, pp. 1–25, 2019, doi: 10.3390/galaxies7040092.

M. Syukron, R. Santoso, and T. Widiharih, “Perbandingan metode SMOTE random forest dan SMOTE XGBoost untuk klasifikasi tingkat penyakit hepatitis C pada imbalance class data,” Jurnal Gaussian, vol. 9, pp. 227–236, 2020, doi: 10.14710/j.gauss.v9i3.28915.

H. Sunata, F. J. Azrullah, and Y. Rianto, “Komparasi tujuh algoritma identifikasi fraud ATM,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 7, no. 3, pp. 441–450, 2020, doi: 10.35957/jatisi.v7i3.471.

E. Sutoyo and M. A. Fadlurrahman, “Penerapan SMOTE untuk mengatasi imbalance class dalam klasifikasi television advertisement performance rating menggunakan artificial neural network,” vol. 6, no. 3, pp. 379–385, 2020, doi: 10.26418/jp.v6i3.42896.

C. T. M. Sitanggang, T. Novianti, and S. Amar, “Analisis neural network dengan metode backpropagation dalam melakukan peramalan terhadap produksi daging sapi,” in Prosiding Seminar Nasional Waluyo Jatmiko, 2023, pp. 81–90.

M. D. Irnanda, A. S. Pratama, F. A. Putra, and S. Sugiyanto, “Application of artificial neural network (MLP) for multivariate analysis of stunting causes in Indonesia,” Journal of Applied Informatics and Computing, vol. 9, no. 4, pp. 1785–1792, 2025, doi: 10.30871/jaic.v9i4.10205.

L. Breiman, “Random forests,” Machine Learning, pp. 5–32, 2001.

P. Li, “Robust LogitBoost and adaptive base class (ABC) LogitBoost,” in Proc. Uncertainty in Artificial Intelligence, 2012, doi: 10.48550/arXiv.1203.3491.

C. J. C. Burges, “From RankNet to LambdaRank to LambdaMART: An overview,” Microsoft Research Technical Report, 2010.




DOI: https://doi.org/10.37905/euler.v14i1.36227

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Mardatunnisa Isnaini, Dela Gustiara, Rizqi Annafi Muhadi, Shalshabilla Shafa, Bagus Sartono, Aulia Rizki Firdawanti, Budi Susetyo, dan Gerry Alfa Dito

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


Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi has been indexed by:


 EDITORIAL OFFICE OF EULER : JURNAL ILMIAH MATEMATIKA, SAINS, DAN TEKNOLOGI

 Department of Mathematics, Faculty of Mathematics and Natural Science, Universitas Negeri Gorontalo
Jl. Prof. Dr. Ing. B. J. Habibie, Tilongkabila, Kabupaten Bone Bolango 96554, Gorontalo, Indonesia
 Email: [email protected]
 +6287777-586462 (WhatsApp Only)
 Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi (p-ISSN: 2087-9393 | e-ISSN:2776-3706) by Department of Mathematics Universitas Negeri Gorontalo is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.  Powered by Public Knowledge Project OJS.