Prediksi Hasil Tanaman Padi Menggunakan Random Forest dengan Seleksi Fitur Berbasis Feature Importance dan Optimasi Hyperparameter GridSearchCV

Authors

  • Steven Andrian Pranata Wicaksono Mercu Buana University of Yogyakarta image/svg+xml
  • Mutaqin Akbar Mercu Buana University of Yogyakarta image/svg+xml

DOI:

https://doi.org/10.35870/jtik.v11i1.7567

Keywords:

Feature Importance, GridSearchCV, NASA POWER, Rice Production, Random Forest

Abstract

Rice production in Indonesia fluctuates due to agronomic, spatial, and climatic factors. This study develops a rice production validation model using Random Forest Regressor with feature importance-based feature selection and GridSearchCV hyperparameter optimization. Agricultural data from BPS for 2018-2024 were combined with annual NASA POWER weather data from 37 provinces in Indonesia. The model predicts rice productivity and converts the prediction into production using actual harvested area. Feature selection reduced 32 initial predictors to 16 final features. The optimized model achieved production R² of 99.79%, adjusted R² of 99.73%, RMSE of 115,600.28 tons, MAE of 61,194.75 tons, MAPE of 6.95%, and SMAPE of 6.86%. It is important to note that the high production R² of 99.79% is substantially driven by the mathematical dominance of actual harvested area as a multiplier in the production conversion formula, rather than solely reflecting the predictive power of the climate model. The core predictive performance of the model at the productivity level (R² = 75.45%, MAPE = 6.95%) more accurately represents the model’s generalization capability. Research limitations include limited historical data for newly established provinces in Papua and the relatively short study period of 2018-2024. These results indicate that the proposed method provides accurate validation for rice production analysis.

Downloads

Download data is not yet available.

Author Biographies

  • Steven Andrian Pranata Wicaksono, Mercu Buana University of Yogyakarta

    Program Studi Informatika, Fakultas Teknologi Informasi, Universitas Mercu Buana Yogyakarta, Kabupaten Bantul, Provinsi Daerah Istimewa Yogyakarta, Indonesia.

  • Mutaqin Akbar, Mercu Buana University of Yogyakarta

    Program Studi Informatika, Fakultas Teknologi Informasi, Universitas Mercu Buana Yogyakarta, Kabupaten Bantul, Provinsi Daerah Istimewa Yogyakarta, Indonesia.

References

Adin Musababa, M. (2024). Implementasi algoritma linear regression untuk prediksi produksi tanaman padi di Kabupaten Grobogan. Data Sciences Indonesia (DSI), 3(2), 68–78. https://doi.org/10.47709/dsi.v3i2.3118.

Faizal, R., Abdullah, A., & Pangestika, M. W. (2025). Perbandingan Random Forest regressor dan decision tree regressor untuk prediksi hasil panen. Jurnal CoSciTech (Computer Science and Information Technology), 6(2), 247–253. https://doi.org/10.37859/coscitech.v6i2.9966.

Fitri, E., & Nugraha, S. N. (2024). Optimasi kinerja linear regression, Random Forest regression, dan multilayer perceptron pada prediksi hasil panen. INTI Nusa Mandiri, 18(2), 210–217. https://doi.org/10.33480/inti.v18i2.5269.

Gori, T., & Hestiningtyas, A. (2024). Optimasi pemilihan fitur untuk prediksi penyakit jantung menggunakan algoritma genetika dan Random Forest. The Indonesian Journal of Computer Science, 13(5), 8491–8502. https://doi.org/10.33022/ijcs.v13i5.4214.

Handayani, D. N., & Qutub, S. (2025). Penerapan Random Forest untuk prediksi dan analisis kemiskinan. RIGGS: Journal of Artificial Intelligence and Digital Business, 4(2), 405–412. https://doi.org/10.31004/riggs.v4i2.512.

Hutahaean, J., Yusup, D., & Purwantoro, P. (2024). Perbandingan metode linear regression, Random Forest, & k-nearest neighbor untuk prediksi produksi hasil panen padi di Provinsi Jawa Barat. JATI (Jurnal Mahasiswa Teknik Informatika), 8(3), 3895–3900. https://doi.org/10.36040/jati.v8i3.9821.

Jati, A. K., Utomo, B. R., Asmara, N. H. J., & Kusumastusi, R. (2025). Prediksi hasil panen untuk pertanian menggunakan model regresi machine learning. Prosiding Seminar Nasional Amikom Surakarta, 3, 186–195.

Kharisma, S. M. I., Hadiana, A. I., & Ramadhan, E. (2025). Model prediksi produksi padi berdasarkan curah hujan dan suhu menggunakan regresi linier berganda. Jurnal Algoritma, 22(2), 704–7014. https://doi.org/10.33364/algoritma/v.22-2.2793.

Maisat Eka Darmawan, Z., & Fauzan Dianta, A. (2023). Implementasi optimasi hyperparameter GridSearchCV pada sistem prediksi serangan jantung menggunakan SVM. Teknologi: Jurnal Ilmiah Sistem Informas, 13(1), 8–15. https://doi.org/10.26594/teknologi.v13i1.3098.

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), 337–345. https://doi.org/10.47065/comforch.v4i3.2125.

Marsya, N. D., Munadhil, M. M., Dzakyananta, M. A., Amaliah, K., & Rofianto, D. (2025). Penerapan algoritma Random Forest dalam prediksi emosi musik berdasarkan karakteristik fitur audio Spotify. Jurnal Sains Informatika Terapan, 4(2), 435–440. https://doi.org/10.62357/jsit.v4i2.648.

Masdian, A. R., Bashit, N., & Hadi, F. (2023). Analisis produktivitas padi menggunakan algoritma machine learning Random Forest di Kabupaten Batang tahun 2018—2022. Elipsoida: Jurnal Geodesi dan Geomatika, 6(1), 43–51. https://doi.org/10.14710/elipsoida.2023.19023.

Muchtar, I. R., & Afiyati, A. (2024). Comparison of linear regression and Random Forest algorithms for premium rice price prediction (Case Study: West Java). Jurnal Indonesia Sosial Teknologi, 5(7), 3122–3132. https://doi.org/10.59141/jist.v5i7.1184.

Nur Fauzi, N. P., Khomsah, S., & Putra Wicaksono, A. D. (2025). Penerapan feature engineering dan hyperparameter tuning untuk meningkatkan akurasi model Random Forest pada klasifikasi risiko kredit. Jurnal Teknologi Informasi Dan Ilmu Komputer, 12(2), 251–262. https://doi.org/10.25126/jtiik.2025128472.

Ramadhan, F., Herlambang, D., & Dipta, A. P. (2026). Prediksi status kesehatan berdasarkan gaya hidup menggunakan metode decision tree dan feature importance. RIGGS: Journal of Artificial Intelligence and Digital Business, 4(4), 9616–9623. https://doi.org/10.31004/riggs.v4i4.5246.

Risanti, R., & Suhendar, H. (2024). Analisis model prediksi cuaca menggunakan support vector machine, gradient boosting, Random Forest, dan decision tree. Prosiding Seminar Nasional Fisika, 12, 119–127. https://doi.org/10.21009/03.1201.FA18.

Ristyawan, A., Nugroho, A., & Amarya, T. K. (2025). Optimasi preprocessing model Random Forest untuk prediksi stroke. JATISI (Jurnal Teknik Informatika dan Sistem Informasi), 12(1), 29–44. https://doi.org/10.35957/jatisi.v12i1.9587

Rizquina, A. Z., & Ratnasari, C. I. (2023). Implementasi web scraping untuk pengambilan data pada website e-commerce. Jurnal Teknologi dan Sistem Informasi Bisnis, 5(4), 377–383. https://doi.org/10.47233/jteksis.v5i4.913.

Selayanti, N., Putri, S. A., Kristanaya, M., Azzahra, M. P., Navsih, M. G., & Hindrayani, K. M. (2024). Penerapan machine learning algoritma Random Forest untuk prediksi penyakit jantung. Prosiding Seminar Nasional Sains Data, 4(1), 895–906. https://doi.org/10.33005/senada.v4i1.376.

Tantyoko, H., Sari, D. K., & Wijaya, A. R. (2023). Prediksi potensi gempa bumi Indonesia menggunakan metode Random Forest dan feature selection. IDEALIS: InDonEsiA journaL Information System, 6(2), 83–89. https://doi.org/10.36080/idealis.v6i2.3036

Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324.

Downloads

Published

2027-01-01

Issue

Section

Computer & Communication Science

How to Cite

Wicaksono, S. A. P., & Akbar, M. (2027). Prediksi Hasil Tanaman Padi Menggunakan Random Forest dengan Seleksi Fitur Berbasis Feature Importance dan Optimasi Hyperparameter GridSearchCV. Jurnal JTIK (Jurnal Teknologi Informasi Dan Komunikasi), 11(1), 160-171. https://doi.org/10.35870/jtik.v11i1.7567