Comparison of Machine Learning Algorithms (SVM, Random Forest, and Naïve Bayes) for Predicting Rice Production

Penulis

  • Oki Dahwanu Universitas Jambi, Indonesia
  • Nurul Abdillah Universitas Jambi, Indonesia
  • Niko Akbar University of Jambi, Indonesia
  • Hamzah Alghifari Universitas Jambi, Indonesia

DOI:

https://doi.org/10.31949/j-ensitec.v12i02.18386

Abstrak

Global rice production faces mounting pressure from population growth and climate change, yet traditional statistical models fail to capture the complex nonlinear dynamics between environmental factors and crop yields. To address this gap, this study systematically compares the accuracy of three machine learning algorithms, Support Vector Machine (SVM), Random Forest (RF), and Naïve Bayes (NB) for predicting rice production fluctuations due to climate change using the latest local climate data from Indonesia. A dataset of 96 monthly observations (2018–2025) comprising climate features (temperature, humidity, wind speed, precipitation, cloud cover, sunshine duration) and rice production categories (Low, Medium, High) was analyzed. Algorithm performance was evaluated using accuracy, precision, recall, and F1-score. The results demonstrate that Random Forest significantly outperforms the other methods, achieving an accuracy of 95%, precision of 0.9571, recall of 0.95, and F1-score of 0.95, compared to SVM (75% accuracy) and Naïve Bayes (70% accuracy). This study provides the first head-to-head comparison of these three algorithms for rice yield prediction in Indonesia using current climate data. The key benefit over pre-existing approaches is the empirical confirmation that ensemble learning, particularly Random Forest, offers superior predictive reliability for crop yield forecasting under high feature complexity, thereby enabling more accurate, data-driven agricultural policy and food security planning.

Kata Kunci:

Rice Production Prediction, Climate Change, Random Forest, Machine Learning, Agricultural Forecasting

Unduhan

Data unduhan belum tersedia.

Referensi

[1] J. Asma, S. D, and K. D, “The Global Lifeline: A Staple Crop Sustaining Two-Thirds of the World’s Population,” Agriculture Archives, vol. 2, no. 3, pp. 15–18, Oct. 2023, doi: 10.51470/AGRI.2023.2.3.15.

[2] R. A. Nagaraj et al., “Comprehensive insights into the risks of climatic factors on rice production and its value chain- A Review,” Plant Science Today, vol. 11, no. sp4, Nov. 2024, doi: 10.14719/pst.5269.

[3] T. Van Klompenburg, A. Kassahun, and C. Catal, “Crop yield prediction using machine learning: A systematic literature review,” Comput. Electron. Agric., vol. 177, p. 105709, 2020.

[4] UNICEF and others, “The state of food security and nutrition in the world 2023,” 2023.

[5] Y. Xu et al., “Genomic selection: A breakthrough technology in rice breeding,” Crop J., vol. 9, no. 3, pp. 669–677, Jun. 2021, doi: 10.1016/j.cj.2021.03.008.

[6] M. Shahhosseini, G. Hu, and S. V. Archontoulis, “Forecasting Corn Yield With Machine Learning Ensembles,” Front. Plant Sci., vol. 11, Jul. 2020, doi: 10.3389/fpls.2020.01120.

[7] B. S. Saruk and G. Mokesh Rayalu, “Optimizing rice yield prediction: A policy-oriented approach to agricultural sustainability,” Results in Engineering, vol. 28, p. 107844, Dec. 2025, doi: 10.1016/J.RINENG.2025.107844.

[8] ENAYABA O.F, AJIBOYE A.A, EGWU L.S., AGBAMS P., and DAMOYE T., “TIME SERIES, MACHINE LEARNING AND ENSEMBLE MODELS TO FORECAST RICE CROP YIELD IN NIGERIA UNDER CLIMATIC VARIABILITY,” International Journal of Agricultural Research and Biotechnology, Nov. 2024, doi: 10.70382/tijarbt.v06i1.005.

[9] R. L. Naylor, D. S. Battisti, D. J. Vimont, W. P. Falcon, and M. B. Burke, “Assessing risks of climate variability and climate change for Indonesian rice agriculture,” Proceedings of the National Academy of Sciences, vol. 104, no. 19, pp. 7752–7757, May 2007, doi: 10.1073/pnas.0701825104.

[10] S. Ha et al., “Impacts of meteorological variables and machine learning algorithms on rice yield prediction in Korea,” Int. J. Biometeorol., vol. 67, no. 11, pp. 1825–1838, Nov. 2023, doi: 10.1007/s00484-023-02544-x.

[11] C. Li, J. Camac, A. Robinson, and T. Kompas, “Predicting changes in agricultural yields under climate change scenarios and their implications for global food security,” Sci. Rep., vol. 15, no. 1, p. 2858, Jan. 2025, doi: 10.1038/s41598-025-87047-y.

[12] D. HS, R. Girisha, and K. C. Gouda, “Study of rainfall forecasting and crop yield prediction under varying climatic conditions: a review of research gaps and advanced solutions,” Theor. Appl. Climatol., vol. 157, no. 4, p. 225, Apr. 2026, doi: 10.1007/s00704-026-06126-w.

[13] L. Benos, A. C. Tagarakis, G. Dolias, R. Berruto, D. Kateris, and D. Bochtis, “Machine Learning in Agriculture: A Comprehensive Updated Review,” Sensors, vol. 21, no. 11, p. 3758, May 2021, doi: 10.3390/s21113758.

[14] K. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, “Machine Learning in Agriculture: A Review,” Sensors, vol. 18, no. 8, p. 2674, Aug. 2018, doi: 10.3390/s18082674.

[15] Y. Cai et al., “Integrating satellite and climate data to predict wheat yield in Australia using machine learning approaches,” Agric. For. Meteorol., vol. 274, pp. 144–159, Aug. 2019, doi: 10.1016/j.agrformet.2019.03.010.

[16] K. Jhajharia, N. V Sharma, and P. Mathur, “A Machine Learning Model for Crop Yield Prediction Using Remote Sensing Data,” International Research Journal of Multidisciplinary Scope, vol. 06, no. 02, pp. 577–590, 2025, doi: 10.47857/irjms.2025.v06i02.03182.

[17] R. Rathore, A. G. Said, P. Jangra, H. Murari, S. Bansal, and H. Singh, “Machine Learning in Agriculture and Crop Management: A Comprehensive Review,” in 2025 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI), IEEE, Mar. 2025, pp. 1–6. doi: 10.1109/IATMSI64286.2025.10984557.

[18] S. Hariyanto, Indah Fenriana, Desiyanna Lasut, and Febrian, “Comparative Analysis of Support Vector Machine, Decision Tree, and Naive Bayes in Evaluating Machine Learning Effectiveness,” RUBINSTEIN, vol. 4, no. 1, pp. 1–15, Dec. 2025, doi: 10.31253/rubin.v4i1.4041.

[19] M. I. KHALDI, A. ERRAISSI, M. HAIN, and M. BANANE, “In-Depth Comparison of Supervised Classification Models - Performance and Adaptability to Practical Requirements,” International Journal of Advanced Computer Science and Applications, vol. 16, no. 8, 2025, doi: 10.14569/IJACSA.2025.0160862.

[20] N. Nur, F. Wajidi, S. Sulfayanti, and W. Wildayani, “Implementasi Algoritma Random Forest Regression untuk Memprediksi Hasil Panen Padi di Desa Minanga,” Jurnal Komputer Terapan, vol. 9, no. 1, pp. 58–64, Jun. 2023, doi: 10.35143/jkt.v9i1.5917.

[21] N. Aditya, I. R. Munthe, and V. Sihombing, “A Comparative Analysis of Machine Learning Algorithms for Predicting Paddy Production,” sinkron, vol. 8, no. 2, pp. 1200–1207, Apr. 2024, doi: 10.33395/sinkron.v8i2.13666.

[22] J. Tan, L. Jiang, Y. Wei, N. Yao, G. Zhao, and Q. Yu, “Optimized Random Forest Framework for Integrating Cultivar, Environmental, and Phenological Interactions in Crop Yield Prediction,” Agronomy, vol. 15, no. 10, p. 2273, Sep. 2025, doi: 10.3390/agronomy15102273.

[23] S. P. Kar, P. Kumari, and R. Kumar, “Data-driven precision crop planning for enhanced rice yields and climate resilience in monsoon-dependent systems: A case study from Cuttack, India,” Plant Arch., vol. 25, no. 2, pp. 1417–1427, 2025.

[24] Nila Aulia, Muhammad Rizky, and Chaerul Shaleh, “Memprediksi Jenis Tanaman Berdasarkan Parameter Lingkungan Menggunakan Algoritma Decision Tree dan Random Forest Berbasis Web,” Jurnal Teknik Informatika dan Teknologi Informasi, vol. 5, no. 3, pp. 578–596, Dec. 2025, doi: 10.55606/jutiti.v5i3.6435.

[25] I. S. Al-Mejibli, J. K. Alwan, and D. H. Abd, “The effect of gamma value on support vector machine performance with different kernels,” International Journal of Electrical and Computer Engineering (IJECE), vol. 10, no. 5, p. 5497, Oct. 2020, doi: 10.11591/ijece.v10i5.pp5497-5506.

[26] N. B. Nghien, C. N. Cong, N. N. Thi, and V. Q. Dung, “Comparison among search algorithms for hyperparameter of support vector machine optimization,” IAES International Journal of Artificial Intelligence (IJ-AI), vol. 14, no. 5, p. 3802, Oct. 2025, doi: 10.11591/ijai.v14.i5.pp3802-3815.

[27] Y. Zhang, Z. Gao, E. Wittrup, J. Gryak, and K. Najarian, “Increasing efficiency of SVMp+ for handling missing values in healthcare prediction,” PLOS Digital Health, vol. 2, no. 6, p. e0000281, Jun. 2023, doi: 10.1371/journal.pdig.0000281.

[28] Y. Resti, D. A. Zayanti, N. R. Dewi, I. Yani, F. Darmawan, and Jimmy, “Classification of Corn Diseases and Pests Using Fuzzy Naïve Bayes Method,” Journal of Advanced Research in Applied Sciences and Engineering Technology, pp. 272–281, Oct. 2024, doi: 10.37934/araset.59.2.272281.

[29] D. Mualfah, H. Rivaldi, J. Al Amin, and others, “KLASIFIKASI BUAH JERUK LEMON BERDASARKAN TINGKAT KEMATANGAN MENGGUNAKAN METODE SVM DAN NAIVE BAYES,” Journal of Software Engineering and Information System (SEIS), pp. 114–121, 2025.

Unduhan

Abstract Views : 4
Downloads Count: 1

Diterbitkan

2026-06-07

Cara Mengutip

Dahwanu, O., Abdillah, N., Akbar, N., & Alghifari, H. (2026). Comparison of Machine Learning Algorithms (SVM, Random Forest, and Naïve Bayes) for Predicting Rice Production. J-ENSITEC , 12(02), 10543–10551. https://doi.org/10.31949/j-ensitec.v12i02.18386

Terbitan

Bagian

Articles

Artikel paling banyak dibaca berdasarkan penulis yang sama

Artikel Serupa

1 2 3 4 5 > >> 

Anda juga bisa Mulai pencarian similarity tingkat lanjut untuk artikel ini.