ANALISIS KOMPARATIF ALGORITMA MACHINE LEARNINGUNTUK PREDIKSI PRODUKSI PADI KABUPATEN BANDUNG

Authors

  • Wini Fetia Wardhiani Universitas Bale Bandung
  • Mohammad Bayu Anggara Universitas Bale Bandung
  • Inka Aqila Nurfalqi3 Universitas Bale Bandung

DOI:

https://doi.org/10.55222/9bd6jc54

Keywords:

rice production, machine learning, regression, XGBoost, random forest

Abstract

Rice production is an important indicator for supporting regional food security, including in Bandung Regency. This study aims to compare the performance of four machine learning algorithms, namely Linear Regression, Support Vector Regression (SVR), Random Forest, and XGBoost, in predicting rice production based on harvested area and productivity data from 2018 to 2025. The data were processed through missing value checking, chronological ordering by year, and feature engineering using production lag, rolling mean, and the interaction between harvested area and productivity. Model validation was conducted using Leave-One-Out Cross Validation (LOO-CV) because the dataset was limited to eight annual observations. Model performance was evaluated using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination (R²). The results show that Linear Regression achieved the best performance, with an MAE of 75,277 tons, RMSE of 207,530 tons, MAPE of 0.24%, and R² of 0.9931. Random Forest ranked second with a MAPE of 4.45% and R² of 0.5508. XGBoost produced a MAPE of 5.08% and R² of 0.4810, while SVR showed the lowest performance with a MAPE of 7.36% and R² of -0.1583. The rice production forecast for 2026-2030 indicates a stable trend, ranging from approximately 31.28 to 35.37 million tons depending on the model used. This study provides an initial basis for developing data-driven rice production prediction systems at the regency level.

References

Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 13-17-August-2016, 785–794. https://doi.org/10.1145/2939672.2939785.

Choudhary, K., Shi, W., Dong, Y., & Paringer, R. (2022). Random Forest for rice yield mapping and prediction using Sentinel-2 data with Google Earth Engine. Advances in Space Research, 70(8), 2443–2457. https://doi.org/10.1016/J.ASR.2022.06.073.

Crane-Droesch, A. (2018). Machine learning methods for crop yield prediction and climate change impact assessment in agriculture. Environmental Research Letters, 13(11). https://doi.org/10.1088/1748-9326/aae159.

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.

Islam, T., Mazumder, T., Shahriair Roni, M. N., & Nur, M. S. (2024). A comparative study of machine learning models for predicting Aman rice yields in Bangladesh. Heliyon, 10(23). https://doi.org/10.1016/j.heliyon.2024.e40764.

Jabed, M. A., & Azmi Murad, M. A. (2024). Crop yield prediction in agriculture: A comprehensive review of machine learning and deep learning approaches, with insights for future research and sustainability. In Heliyon (Vol. 10, Issue 24). Elsevier Ltd. https://doi.org/10.1016/j.heliyon.2024.e40836.

Liu, Y., Wang, S., Chen, J., Chen, B., Wang, X., Hao, D., & Sun, L. (2022). Rice Yield Prediction and Model Interpretation Based on Satellite and Climatic Indicators Using a Transformer Method. Remote Sensing, 14(19). https://doi.org/10.3390/rs14195045.

Manurung, D., Zealtiel, B., & Lubis, A. H. (2025). Prediksi Produksi Tanaman Padi di Indonesia dengan Menggunakan Algoritma Random Forest Regressor. Journal of Computing and Informatics Research, 4(3), 345. https://doi.org/10.47065/comforch.v4i3.2125.

Oikonomidis, A., Catal, C., & Kassahun, A. (2023). Deep learning for crop yield prediction: a systematic literature review. In New Zealand Journal of Crop and Horticultural Science (Vol. 51, Issue 1, pp. 1–26). Taylor and Francis Ltd. https://doi.org/10.1080/01140671.2022.2032213.

Pusat Statistik Provinsi Jawa Barat. https://doi.org/10.1080/01140671.2022.2032213.

Paudel, D., Boogaard, H., de Wit, A., Janssen, S., Osinga, S., Pylianidis, C., & Athanasiadis, I. N. (2021). Machine learning for large-scale crop yield forecasting. Agricultural Systems, 187, 103016. https://doi.org/10.1016/J.AGSY.2020.103016.

Putra, H., & Ulfa Walmi, N. (2020). Penerapan Prediksi Produksi Padi Menggunakan Algoritma Backpropagation Artificial Neural Network. Jurnal Nasional Teknologi Dan Sistem Informasi, 6(2). https://doi.org/10.25077/teknosi.v6i2.2020.100-107.

Setiawan Cahyono & Muhammad Imron Rosadi. (2025). Penerapan Artificial Neural Network untuk Prediksi Produksi Padi di Sumatera. Jurnal Informatika Polinema, 11(4). https://doi.org/10.33795/jip.v11i4.7727.

Shawon, S. M., Ema, F. B., Mahi, A. K., Niha, F. L., & Zubair, H. T. (2025). Crop yield prediction using machine learning: An extensive and systematic literature review. Smart Agricultural Technology, 10, 100718. https://doi.org/10.1016/J.ATECH.2024.100718.

van Klompenburg, T., Kassahun, A., & Catal, C. (2020). Crop yield prediction using machine learning: A systematic literature review. Computers and Electronics in Agriculture, 177, 105709. https://doi.org/10.1016/J.COMPAG.2020.105709.

Yasin, F., Firmansyah, M. R., Aldo, D., & Amrustian, M. A. (2025). Multivariate Forecasting of Paddy Production: A Comparative Study of Machine Learning Models. Jurnal Teknik Informatika (Jutif), 6(3), 1431–1442. https://doi.org/10.52436/1.jutif.2025.6.3.4681.

Badan Pusat Statistik Provinsi Jawa Barat. (2025). Luas panen, produktivitas, dan produksi padi menurut kabupaten/kota di Provinsi Jawa Barat.

Published

2026-07-24

Data Availability Statement

The data generated and/or analyzed during this study are available from the corresponding author upon reasonable request.

 

How to Cite

ANALISIS KOMPARATIF ALGORITMA MACHINE LEARNINGUNTUK PREDIKSI PRODUKSI PADI KABUPATEN BANDUNG. (2026). AGRO TATANEN | Jurnal Ilmiah Pertanian, 8(2), 76-84. https://doi.org/10.55222/9bd6jc54