COMPARISON OF TREE-BASED ENSEMBLE LEARNING ALGORITHMS FOR PREDICTING RICE PRODUCTION TO SUPPORT FOOD SECURITY
DOI:
https://doi.org/10.33480/jitk.v12i2.8335Keywords:
Food security, prediction, rice production, tree-based ensemble learning algorithm, XGBoostAbstract
Rice production is a key component of national food security, requiring accurate prediction models to support agricultural development planning. This study evaluated four tree-based ensemble algorithms: CatBoost, Random Forest, XGBoost, and LightGBM to determine the most effective method for predicting rice production in various regions of Indonesia. The dataset includes harvested area, production volume, rainfall, temperature, humidity, and provincial attributes representing agroclimatic and spatial variability. Preprocessing stages included data cleaning, feature encoding, normalization, and splitting using five-fold cross-validation. Model performance was assessed using RMSE, MAE, and R² to describe accuracy, stability, and explanatory power. The results showed that XGBoost performed best with an RMSE of 118.3, MAE of 82.9 ton, and R² of 0.74, outperforming all other models. Residual analysis confirmed the stability of XGBoost predictions through a narrower error distribution close to zero. SHAP analysis showed that harvested area was the most dominant predictor, while rainfall, temperature, humidity, and provincial factors had significant influences. This research indicates that XGBoost is capable of producing reliable, explainable, and highly accurate predictions for modeling rice production. It also emphasizes the importance of integrating environmental, agronomic, and spatial variables in predictive model development to ensure robust performance across diverse cultivation conditions, while supporting productivity enhancement, risk mitigation, improved monitoring, and evidence-based policy formulation for long-term food security. Therefore, this research provides a strong scientific foundation for the use of machine learning-based analytics to support strategic planning, improve efficiency, strengthen resilience, drive technological innovation, and accelerate the transformation of rice production systems.
Downloads
References
[1] Badan Pusat Statistik, “Luas Panen dan Produksi Padi di Indonesia 2023 ( Angka Tetap ),” 2024.
[2] Food and Agriculture Organization (FAO), “Food Outlook,” 2022.
[3] A. A. Ikudayisi, “Green Technologies and Sustainability Urban food security and socioeconomic sustainability : A multidimensional perspective,” Green Technol. Sustain., vol. 2, no. 2, p. 100080, 2024, doi: 10.1016/j.grets.2024.100080.
[4] S. de Bruin and C. Holleman, Urbanization is transforming agrifood systems across the rural–urban continuum creating challenges and opportunities to access affordable healthy diets. Rome: Food and Agriculture Organization of the United Nations, 2023. doi: 10.4060/cc8094en.
[5] E. Demartini, D. Vecchiato, L. Finos, S. Mattavelli, and A. Gaviglio, “Would you buy vegan meatballs ? The policy issues around vegan and meat-sounding labelling of plant-based meat alternatives,” Food Policy, vol. 111, 2022, doi: 10.1016/j.foodpol.2022.102310.
[6] Y. Fan, Y. Yuan, Y. Yuan, and W. Duan, “Research progress on the impact of climate change on wheat production in China,” PeerJ, pp. 1–29, 2025, doi: 10.7717/peerj.18569.
[7] M. Firdaus, F. Hadi, and L. M. Sabri, “Prediction of Rice Productivity Using the Random Forest Regression Algorithm in Cikaret Subdistrict for the Years 2020-2024,” J. Geod. Geomatics, vol. 20, no. 1, pp. 10–21, 2025, doi: 10.12962/geoid.v20i1.2570.
[8] N. B. Wibisono and S. Saiful, “Crop Yield Prediction Using Random Forest Algorithm and Xgboost Machine Learning Model,” Int. J. Res. Innov. Soc. Sci., vol. IX, no. 2454, pp. 1983–1994, 2025, doi: 10.47772/IJRISS.
[9] N. Iqbal, M. U. Shahzad, E. M. Sherif, and M. U. Tariq, “Analysis of Wheat-Yield Prediction Using Machine Learning Models under Climate Change Scenarios,” Sustainability, pp. 1–26, 2024, doi: https://doi.org/10.3390/su16166976.
[10] M. F. Aslan and K. Sabanci, “Artificial Intelligence Techniques in Crop Yield Estimation Based on Sentinel-2 Data : A Comprehensive Survey,” Sustainability, vol. 16, 2024, doi: https://www.mdpi.com/2071-1050/16/18/8277.
[11] Q. Zhao et al., “Analysis of Temporal and Spatial Variations in Cropland Water-Use Efficiency and Influencing Factors in Xinjiang Based on the XGBoost – SHAP Model,” Agronomy, pp. 1–19, 2025, doi: https://doi.org/10.3390/agronomy15081902.
[12] M. Hasan, A. Marjan, and P. Uddin, “Ensemble machine learning- based recommendation system for effective prediction of suitable agricultural crop cultivation,” Front. Plant Sci., no. August, pp. 1–18, 2023, doi: 10.3389/fpls.2023.1234555.
[13] N. Jalal, A. Mehmood, G. Sang, and I. Ashraf, “A novel improved random forest for text classification using feature ranking and optimal number of trees,” J. King Saud Univ. - Comput. Inf. Sci., vol. 34, no. 6, pp. 2733–2742, 2022, doi: 10.1016/j.jksuci.2022.03.012.
[14] S. Ranjan, “Crop Yield Prediction Using the XG-Boost Algorithm in Indian Agroclimatic Conditions,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 14, no. VI, 2026, doi: 10.22214/ijraset.2026.83744.
[15] S. Kumar, M. A. Sohail, S. Jadhav, and R. K. Gupta, “Light Gradient Boosting Machine For Optimizing Crop Maintenance And Yield Prediction In Agriculture,” ICTACT J. SOFT Comput., vol. 15, no. 02, pp. 3551–3555, 2024, doi: 10.21917/ijsc.2024.0495.
[16] B. Dong, S. Ma, Z. Gao, and A. Qin, “CatBoost Improves Inversion Accuracy of Plant Water Status in Winter Wheat Using Ratio Vegetation Index,” Appl. Scinces, vol. 15, pp. 1–20, 2025, doi: https://doi.org/10.3390/app152111363.
[17] M. Mathivadhani, K. T. M. Sc, M. Phil, and D. Ph, “Crop Yield Prediction Using Dep XG Boost Algorithm,” Int. J. Innov. Res. Electr. Electron. Instrum. Control Eng., vol. 13, no. 4, pp. 51–56, 2025, doi: 10.17148/IJIREEICE.2025.13408.
[18] Y. Ye et al., “Diverse microbial communities support multiple patterns of functional redundancy in tidal flats IN Corresponding author,” Microbiome, 2026, doi: /10.1186/s40168-026-02503-9.
[19] S. Sarkar, J. M. O. Leyton, E. Noa-yarasca, K. Adhikari, C. B. Hajda, and D. R. Smith, “Integrating Remote Sensing and Soil Features for Enhanced Machine Learning-Based Corn Yield Prediction in the Southern US,” Sensors, vol. 25, no. 2, pp. 1–27, 2025, doi: 10.3390/s25020543.
[20] B. Avanzi, G. Taylor, and M. Wang, “Machine Learning with High-Cardinality Categorical Features in Actuarial Applications,” ASTIN Bull. J. IAA, vol. 54, no. 2, pp. 213–238, 2024, doi: 10.1017/asb.2024.7.
[21] V. A. Handayani, S. Rahmiati, B. Varischa, and A. Arrafi, “Comparative Analysis : Multiple Regression and Random Forest Regression in Predicting Food Security Index in Indonesia,” J. Math. Comput. Stat., vol. 8, no. 2, pp. 389–400, 2025, doi: 10.35580/jmathcos.v8i2.8593.
[22] M. Abdel-salam, “A proposed framework for crop yield prediction using hybrid feature selection approach and optimized machine learning,” Neural Comput. Appl., vol. 36, no. 33, pp. 20723–20750, 2024, doi: 10.1007/s00521-024-10226-x.
[23] S. Morshed, F. Barua, A. Khanom, F. Lokman, and H. T. Zubair, “Smart Agricultural Technology Crop yield prediction using machine learning : An extensive and systematic literature review,” Smart Agric. Technol., vol. 10, no. September 2024, p. 100718, 2025, doi: 10.1016/j.atech.2024.100718.
[24] M. Kulyal and P. Saxena, “Machine Learning approaches for Crop Yield Prediction : A Review,” 2022 7th Int. Conf. Comput. Commun. Secur., 2022, doi: 10.1109/ICCCS55188.2022.10079240.
[25] A. Oikonomidis, C. Catal, and A. Kassahun, “Hybrid Deep Learning-based Models for Crop Yield Prediction Hybrid Deep Learning-based Models for Crop Yield Prediction,” Appl. Artif. Intell., vol. 36, no. 1, 2022, doi: 10.1080/08839514.2022.2031823.
[26] P. Giri et al., “An Ensemble-Learning Framework for Structural Damage Classification in Prestressed Bridge Deck,” Procedia Struct. Integr., vol. 84, pp. 1119–1126, 2026, doi: 10.1016/j.prostr.2026.06.143.
[27] G. S. P. Ghantasala, “Ensemble Deep Learning With Radiomics Features,” Genet. Mol. Res., vol. 25, no. 4s, pp. 1–9, 2026, doi: 10.4238/gaxeq208.
[28] Y. Li et al., “Measuring neighborhood socioeconomic status from sky and street : An ensemble learning framework,” Trans. Urban Data, Sci. Technol., pp. 1–29, 2026, doi: 10.1177/27541231261473758.
[29] C. Oktomy, N. Susanto, M. Ulfah, and B. Aditya, “Comparative analysis of CatBoost and LightGBM algorithms for predicting dental caries risk based on lifestyle factors,” J. Ilm. KURSOR, vol. 13, no. 3, pp. 155–166, 2026, doi: 10.21107/kursor.v13i3.504.
[30] Z. Wei et al., “CatBoost-based Intrusion Detection Method for the Physical Layer of Smart Agriculture,” ITM Web Conf., vol. 60, p. 8, 2024, doi: 10.1051/itmconf/20246000009.
[31] K. Ileri, “Comparative analysis of CatBoost , LightGBM , XGBoost , RF , and DT methods optimised with PSO to estimate the number of k ‑ barriers for intrusion detection in wireless sensor networks,” Int. J. Mach. Learn. Cybern., vol. 16, no. 9, pp. 6937–6956, 2025, doi: 10.1007/s13042-025-02654-5.
[32] T. Ait, B. Elkari, Y. Chaibi, and T. Kousksou, “Random forest with feature selection and K-fold cross validation for predicting the electrical and thermal efficiencies of air based photovoltaic-thermal systems,” Energy Reports, Publ. by Elsevier Ltd, vol. 12, no. March, pp. 988–999, 2024, doi: 10.1016/j.egyr.2024.07.002.
[33] G. Alexandar Narkunam, K. Kala, and S. ArunPandiyan, “Enhancing Agricultural Forecasting with an Ensemble Learning Approach for Broccoli Yield Prediction,” J. Inf. Syst. Eng. Manag., vol. 10, no. 41s, pp. 105–116, 2025, doi: 10.52783/jisem.v10i41s.7754.
[34] D. R. Anamisa, B. D. Satoto, M. K. Sophan, and M. Yusuf, “Mathematical Modelling of Engineering Problems Development of the Support Vector Regression and Genetic Algorithm Hybrid Models for Forecasting of Madura Rice Yield,” Int. Inf. and Eng. Technol. Assoc., vol. 13, no. 1, pp. 181–198, 2026, doi: 10.18280/mmep.130117.
[35] H. Wijaya, D. P. Hostiadi, and E. Triandini, “OPTIMIZATION OF XGBOOST ALGORITHM USING PARAMETER TUNING IN RETAIL SALES PREDICTION,” J. Nas. Pendidik. Tek. Inform. JANAPATI, vol. 13, no. 3, pp. 769–786, 2024, doi: 10.23887/janapati.v13i3.82214.
[36] D. Malarvizhi, “A comparative study of boosting algorithms : Concepts , Algorithms , Applications , and Prospects,” Int. J. Innov. Res. Technol., vol. 11, no. 3, pp. 1816–1825, 2024.
[37] S. Kaur, G. Singh, A. Kumar, and A. Singh, “ Improvised wheat yield forecasting via SHAP-based feature Selection and Bayesian optimized weighted ensemble model,” Environ. Res. Commun., vol. 7, 2025, doi: https://doi.org/10.1088/2515-7620/ae244c.
[38] T. O. Hodson, “Root-mean-square error ( RMSE ) or mean absolute error ( MAE ): when to use them or not,” Geosci. Model Dev., vol. 15, no. 2, pp. 5481–5487, 2022, doi: 10.5194/gmd-15-5481-2022.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Dahri Yani Hakim Tanjung Dahri, Firman Syahputra, Rofiqoh Dewi, Hilda Elsera Br Sembiring

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




-a.jpg)
-b.jpg)












