Penerapan Algoritma Regresi Random Forest Untuk Prediksi Produksi Jagung Menggunakan Data Statistik Sistem Pertanian Cerdas Smart City
DOI:
https://doi.org/10.47701/19h5ny78Keywords:
Jagung, Produksi Pertanian, Prediksi, Random Forest Regression, Smart City, Machine LearningAbstract
Produksi jagung di Indonesia masih dihadapkan pada berbagai permasalahan seperti ketidakstabilan hasil panen serta kurangnya data prediktif yang mendukung pengambilan keputusan berbasis informasi. Penelitian ini bertujuan untuk mengembangkan model prediksi produksi jagung yang akurat menggunakan algoritma Random Forest Regression berbasis data statistik pertanian. Metode yang digunakan bersifat kuantitatif dengan memanfaatkan data luas panen dan produktivitas jagung dari 38 provinsi di Indonesia tahun 2024, yang dianalisis menggunakan Python dan pustaka machine learning. Hasil evaluasi menunjukkan bahwa model mampu menjelaskan 98% variasi produksi jagung, dengan nilai R² sebesar 0,98 pada data uji. Nilai Mean Squared Error (MSE) dan Mean Absolute Error (MAE) yang rendah menandakan tingkat akurasi yang tinggi. Visualisasi hasil prediksi menunjukkan bahwa nilai-nilai prediksi sangat mendekati nilai aktual. Fitur luas panen memiliki kontribusi paling besar dalam prediksi, diikuti oleh produktivitas. Model disimpan dalam format .pkl dan diintegrasikan ke dalam aplikasi web untuk memudahkan penggunaannya oleh petani maupun dinas pertanian. Penelitian ini mendukung penerapan pertanian cerdas dalam konsep Smart City serta dapat digunakan sebagai alat bantu pengambilan keputusan berbasis data.
References
[1] E. Rahmadani, R. Hayati, S. E. Ariyanto, D. A. Wijayanti, and E. Elinur, “The Role of Agricultural Institutions in Enhancing National Food Security through the Development of Sustainable Agricultural Systems in Indonesia,” Journal of the American Institute, vol. 2, no. 4, pp. 618–627, 2025.
[2] E. B. Abbade, “Estimating the potential for nutrition and energy production derived from maize (Zea mays L.) and rice (Oryza sativa L.) losses in Brazil,” Waste Management, vol. 134, pp. 170–176, 2021.
[3] N. Aijaz, H. Lan, T. Raza, M. Yaqub, R. Iqbal, and M. S. Pathan, “Artificial intelligence in agriculture: Advancing crop productivity and sustainability,” J Agric Food Res, p. 101762, 2025.
[4] T. A. Shaikh, T. Rasool, and F. R. Lone, “Towards leveraging the role of machine learning and artificial intelligence in precision agriculture and smart farming,” Comput Electron Agric, vol. 198, p. 107119, 2022.
[5] A. A. AlZubi and K. Galyna, “Artificial intelligence and internet of things for sustainable farming and smart agriculture,” Ieee Access, vol. 11, pp. 78686–78692, 2023.
[6] J. Pant, R. P. Pant, M. K. Singh, D. P. Singh, and H. Pant, “Analysis of agricultural crop yield prediction using statistical techniques of machine learning,” Mater Today Proc, vol. 46, pp. 10922–10926, 2021.
[7] Z. Zhou, C. Qiu, and Y. Zhang, “A comparative analysis of linear regression, neural networks and random forest regression for predicting air ozone employing soft sensor models,” Sci Rep, vol. 13, no. 1, p. 22420, 2023.
[8] A. K. Kalusivalingam, A. Sharma, N. Patel, and V. Singh, “Enhancing Predictive Business Analytics with Deep Learning and Ensemble Methods: A Comparative Study of LSTM Networks and Random Forest Algorithms,” International Journal of AI and ML, vol. 1, no. 2, 2020.
[9] S. Demir and E. K. Şahin, “Liquefaction prediction with robust machine learning algorithms (SVM, RF, and XGBoost) supported by genetic algorithm-based feature selection and parameter optimization from the perspective of data processing,” Environ Earth Sci, vol. 81, no. 18, p. 459, 2022.
[10] J. D. Borrero and J. Mariscal, “A case study of a digital data platform for the agricultural sector: A valuable decision support system for small farmers,” Agriculture, vol. 12, no. 6, p. 767, 2022.
[11] T. Sakamoto, “Incorporating environmental variables into a MODIS-based crop yield estimation method for United States corn and soybeans through the use of a random forest regression algorithm,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 160, pp. 208–228, 2020.
[12] M. Shahhosseini, G. Hu, I. Huber, and S. V Archontoulis, “Coupling machine learning and crop modeling improves crop yield prediction in the US Corn Belt,” Sci Rep, vol. 11, no. 1, p. 1606, 2021.
[13] E. S. Mohamed, A. A. Belal, S. K. Abd-Elmabod, M. A. El-Shirbeny, A. Gad, and M. B. Zahran, “Smart farming for improving agricultural management,” The Egyptian Journal of Remote Sensing and Space Science, vol. 24, no. 3, pp. 971–981, 2021.
[14] G. Mohyuddin, M. A. Khan, A. Haseeb, S. Mahpara, M. Waseem, and A. M. Saleh, “Evaluation of Machine Learning approaches for precision farming in Smart Agriculture System-A comprehensive Review,” IEEE Access, 2024.
[15] S. K. Mukhiya and U. Ahmed, Hands-On Exploratory Data Analysis with Python: Perform EDA techniques to understand, summarize, and investigate your data. Packt Publishing Ltd, 2020.
[16] M. Shi, W. Hu, M. Li, J. Zhang, X. Song, and W. Sun, “Ensemble regression based on polynomial regression-based decision tree and its application in the in-situ data of tunnel boring machine,” Mech Syst Signal Process, vol. 188, p. 110022, 2023.
[17] Q. Zhang et al., “Maize yield prediction using federated random forest,” Comput Electron Agric, vol. 210, p. 107930, 2023.