J-ENSITEC (Journal of Engineering and Sustainable Technology)
Vol. 12 No. 02 (2026): June 2026

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

Oki Dahwanu (Universitas Jambi)
Nurul Abdillah (Universitas Jambi)
Niko Akbar (University of Jambi)
Hamzah Alghifari (Universitas Jambi)



Article Info

Publish Date
07 Jun 2026

Abstract

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.

Copyrights © 2026






Journal Info

Abbrev

j-ensitec

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Engineering Industrial & Manufacturing Engineering Mechanical Engineering

Description

J-ENSITEC (Journal Of Engineering and Sustainable Technology) terbit 2 (dua) kali dalam setahun. Sejak 2014, J-ENSITEC (Journal Of Engineering and Sustainable Technology) terbit pada bulan Desember dan Mei. Isi jurnal membahas hasil penelitian di bidang Teknik Informatika, Teknik Sipil, Teknik ...