Articles Vol. 5, No. 1 (2027)
Sartika Lina Mulani Sitio, Chairiansyah
Universitas Pamulang ROR
10.58477/cj.v5i1.569 Published: 2027-02-01
Abstract

Rice production prediction is needed to support the use of weather information and land characteristics in estimating production yields more measurably. This study aims to develop a rice production prediction model using XGBoost by utilizing weather factors and land characteristics engineering features. The dataset used consisted of 243 observations with 84 initial variables, which were divided into training and testing data with an 80:20 ratio. Feature engineering produced derivative features in the form of aggregation of rainfall, temperature, humidity, solar radiation, as well as nutrient ratios and soil texture. Furthermore, feature selection using XGBoost selected the 30 most relevant features to build an improved model. Hyperparameter optimization was performed using Optuna, while model performance was evaluated using MAE, RMSE, and R². The test results showed that the baseline model obtained an MAE of 0.9049, an RMSE of 1.1576, and an R² of 0.5843. The improved model produced an MAE of 0.9717, an RMSE of 1.2729, and an R² of 0.4974, indicating no performance improvement compared to the baseline. SHAP analysis showed that temp_Dec, N_to_K_Ratio, bulk density, and TMIN_Mean were the features that contributed most to the prediction.

How to Cite

How to Cite

Sitio, S. L. M., & Syafril. (2027). Improving Rice Production Prediction Using XGBoost with Feature Engineering of Weather and Land Characteristics. Computer Journal, 5(1), 99-107. https://doi.org/10.58477/cj.v5i1.569
Sartika Lina Mulani Sitio

Universitas Pamulang

Department of Informatics Engineering, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

Chairiansyah

Universitas Pamulang

Department of Informatics Engineering, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

Issue Vol. 5 No. 1 (2027)
SectionArticles
DOI10.58477/cj.v5i1.569
Publication Date2027-02-01
Pages99-107
  • Ahmed, M. S., Tazwar, M. T., Khan, H., Roy, S., Iqbal, J., Rabiul Alam, M. G., Hassan, M. R., & Hassan, M. M. (2022). Yield response of different rice ecotypes to meteorological, agro-chemical, and soil physiographic factors for interpretable precision agriculture using extreme gradient boosting and support vector regression. Complexity, 2022, https://doi.org/10.1155/2022/5305353
  • Brinkhoff, J., Clarke, A., Dunn, B. W., & Groat, M. (2024). Analysis and forecasting of Australian rice yield using phenology-based aggregation of satellite and weather data. Agricultural and Forest Meteorology, 353, 110055. https://doi.org/10.1016/j.agrformet.2024.110055
  • Clarke, A., Yates, D., Blanchard, C., Islam, M. Z., Ford, R., Rehman, S., & Walsh, R. (2024). The effect of dataset construction and data pre-processing on the eXtreme Gradient Boosting algorithm applied to head rice yield prediction in Australia. Computers and Electronics in Agriculture, 219, 108716. https://doi.org/10.1016/j.compag.2024.108716
  • Dada, B. A., Nwulu, N. I., & Olukanmi, S. O. (2025). Bayesian optimization with Optuna for enhanced soil nutrient prediction: A comparative study with genetic algorithm and particle swarm optimization. Smart Agricultural Technology, 12, 101136. https://doi.org/10.1016/j.atech.2025.101136
  • De Clercq, D., & Mahdi, A. (2024). Feasibility of machine learning-based rice yield prediction in India at the district level using climate reanalysis and remote sensing data. Agricultural Systems, 220, 104099. https://doi.org/10.1016/j.agsy.2024.104099
  • Erlin, Yunianta, A., Wulandhari, L. A., Desnelita, Y., Nasution, N., & Junadhi. (2024). Enhancing rice production prediction in Indonesia using advanced machine learning models. IEEE Access, 12, 151161–151177. https://doi.org/10.1109/ACCESS.2024.3478738
  • Huber, F., Yushchenko, A., Stratmann, B., & Steinhage, V. (2022). Extreme gradient boosting for yield estimation compared with deep learning approaches. Computers and Electronics in Agriculture, 202, 107346. https://doi.org/10.1016/j.compag.2022.107346
  • Jayanthi, S., Suvarna Kumari, T., Inturi, S., Nathan, B., Josephine Sathya, M. A., & Karmakonda, K. (2026). Comparative evaluation of hyperparameter tuning methods in crop yield prediction for enhancing food security. International Journal of Safety and Security Engineering, 16(3), 479–489. https://doi.org/10.18280/ijsse.160301
  • Lischeid, G., Webber, H., Sommer, M., Nendel, C., & Ewert, F. (2022). Machine learning in crop yield modelling: A powerful tool, but no surrogate for science. Agricultural and Forest Meteorology, 312, 108698. https://doi.org/10.1016/j.agrformet.2021.108698
  • Liu, Q., Yang, M., Mohammadi, K., Song, D., Bi, J., & Wang, G. (2022). Machine learning crop yield models based on meteorological features and comparison with a process-based model. Artificial Intelligence for the Earth Systems, 1(4), 1–14. https://doi.org/10.1175/aies-d-22-0002.1
  • Mahesh, P., & Soundrapandiyan, R. (2024). Yield prediction for crops by gradient-based algorithms. PLoS ONE, 19(8), 1–20. https://doi.org/10.1371/journal.pone.0291928
  • Mugemangango, C., Nzabanita, J., Ndaruhuye Muhoza, D., & Cahill, N. D. (2026). Leveraging machine learning and feature engineering techniques for early rice yield prediction in Rwanda using vegetation indices. African Journal of Applied Research, 12(5), 361–380. https://doi.org/10.26437/3qt42n09
  • Noorunnahar, M., Chowdhury, A. H., & Mila, F. A. (2023). A tree-based eXtreme Gradient Boosting (XGBoost) machine learning model to forecast the annual rice production in Bangladesh. PLoS ONE, 18(3), 1–15. https://doi.org/10.1371/journal.pone.0283452
  • Sánchez, J. C. M., Mesa, H. G. A., Espinosa, A. T., Castilla, S. R., & Lamont, F. G. (2025). Improving wheat yield prediction through variable selection using support vector regression, random forest, and extreme gradient boosting. Smart Agricultural Technology, 10, 100791. https://doi.org/10.1016/j.atech.2025.100791
  • Shwartz-Ziv, R., & Armon, A. (2022). Tabular data: Deep learning is not all you need. Information Fusion, 81, 84–90. https://doi.org/10.1016/j.inffus.2021.11.011
  • Sitio, S. L. M., (2026). Comparative analysis of bagging and boosting models in ensemble learning for graduation prediction. 11(3), 979–986. https://doi.org/10.33480/jitk.v11i3.7579
  • Son, N.-T., Chen, C.-F., Cheng, Y.-S., Toscano, P., Chen, C.-R., Chen, S.-L., Tseng, K.-H., Syu, C.-H., Guo, H.-Y., & Zhang, Y.-T. (2022). Field-scale rice yield prediction from Sentinel-2 monthly image composites using machine learning algorithms. Ecological Informatics, 69, 101618. https://doi.org/10.1016/j.ecoinf.2022.101618
  • Wijayanti, E. B., Setiadi, D. R. I. M., & Setyoko, B. H. (2024). Dataset analysis and feature characteristics to predict rice production based on eXtreme Gradient Boosting. Journal of Computing Theories and Applications, 1(3), 299–310. https://doi.org/10.62411/jcta.10057
  • Wirakusuma, K. A., (2025). Optimasi model prediksi Extreme Gradient Boosting dengan genetic algorithm untuk produksi dan produktivitas padi. STORAGE: Jurnal Ilmiah Teknik dan Ilmu Komputer, 4(4),https://doi.org/10.55123/storage.v4i4.6633
  • Yu, W., Yang, G., Li, D., Zheng, H., Yao, X., Zhu, Y., Cao, W., Qiu, L., & Cheng, T. (2023). Improved prediction of rice yield at field and county levels by synergistic use of SAR, optical, and meteorological data. Agricultural and Forest Meteorology, 342, 109729. https://doi.org/10.1016/j.agrformet.2023.109729
License

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Article Statistics
Download data is not yet available.
Similar Articles
Firman Pratama, Devi Damayanti, Haekal Mimtazulfaqhi Zaydan, Gilang Ramadhan, M. Hafizh Rafid Hidayat  ·  Computer Journal: Vol. 4 No. 2 (2026): August