Penerapan Metode Gradient Boosting Regressor Untuk Prediksi Curah Hujan Berdasarkan Data Cuaca Harian BMKG
Abstract
Abstrak−Prediksi curah hujan harian memiliki peran krusial dalam mitigasi bencana hidrometeorologi dan perencanaan sektor pertanian. Namun, karakteristik data curah hujan yang bersifat zero-inflated dan non-linear menjadi tantangan utama dalam menghasilkan prediksi yang akurat. Penelitian ini bertujuan untuk membangun model prediksi curah hujan menggunakan algoritma Gradient Boosting Regressor dengan membandingkan dua skenario: model default dan model yang telah dioptimasi. Dataset yang digunakan adalah data cuaca harian dari Badan Meteorologi, Klimatologi, dan Geofisika (BMKG) sebanyak 942 observasi, yang mencakup variabel suhu minimum (TN), suhu maksimum (TX), suhu rata-rata (TAVG), kelembaban rata-rata (RH_AVG), durasi penyinaran matahari (SS), serta kecepatan angin rata-rata (FF_AVG). Proses pra-pemrosesan data dilakukan melalui penanganan nilai kosong menggunakan K-Nearest Neighbors Imputer dan standarisasi fitur dengan StandardScaler. Optimasi hyperparameter dilakukan menggunakan RandomizedSearchCV dengan validasi silang deret waktu (TimeSeriesSplit). Hasil penelitian menunjukkan bahwa model teroptimasi mengungguli model default dengan mencapai nilai Root Mean Squared Error (RMSE) sebesar 12,207 dan Mean Absolute Error (MAE) sebesar 7,704. Temuan ini membuktikan bahwa integrasi pra-pemrosesan yang sistematis dan optimasi parameter secara empiris secara signifikan meningkatkan kemampuan model dalam mempelajari pola variabilitas curah hujan harian.
Downloads
References
[2] R. Meenal, K. Kailash, P. A. Michael, J. J. Joseph, F. T. Josh, and E. Rajasekaran, “Machine learning based smart weather prediction,” Indones. J. Electr. Eng. Comput. Sci., vol. 28, no. 1, pp. 508–515, 2022, doi: 10.11591/ijeecs.v28.i1.pp508-515.
[3] N. K. A. Appiah-badu, Y. A. W. M. Missah, L. K. Amekudzi, N. Ussiph, T. Frimpong, and E. Ahene, “Rainfall Prediction Using Machine Learning Algorithms for the Various Ecological Zones of Ghana,” IEEE Access, vol. 10, pp. 5069–5082, 2022, doi: 10.1109/ACCESS.2021.3139312.
[4] V. S. Monego, J. A. Anochi, and H. F. de Campos Velho, “South America Seasonal Precipitation Prediction by Gradient-Boosting Machine-Learning Approach,” Atmosphere (Basel)., vol. 13, no. 2, 2022, doi: 10.3390/atmos13020243.
[5] M. Alvines et al., “Komparasi Ridge Regression, Random Forest, Dan Gradient Boosting Untuk Prediksi Curah Hujan Harian Di Sumatra Selatan Berbasis Time Series Cross-Validation,” JATI (Jurnal Mhs. Tek. Inform., vol. 9, no. 4, pp. 5742–5748, 2025, doi: 10.36040/jati.v9i4.13915.
[6] H. Lu and R. Mazumder, “Randomized Gradient Boosting Machine,” Siam J. OPTIM, vol. 30, no. 4, pp. 2780–2808, 2020.
[7] T. Z. Jasman, M. A. Fadhlullah, A. L. Pratama, and R. Rismayani, “Analisis Algoritma Gradient Boosting, Adaboost dan Catboost dalam Klasifikasi Kualitas Air,” J. Tek. Inform. dan Sist. Inf., vol. 8, no. 2, pp. 392–402, 2022, doi: 10.28932/jutisi.v8i2.4906.
[8] Z. Zhang et al., “Interpretable machine learning model to predict 90-day radiographically confirmed pneumonia after chemotherapy initiation in non-Hodgkin lymphoma: development and internal validation of a single-center cohort,” Front. Med., vol. 12, no. September, pp. 1–19, 2025, doi: 10.3389/fmed.2025.1674896.
[9] M. S. Pathan, P. Nadella, and Y. U. L. Haq, “A Systematic Analysis of Meteorological Parameters in Predicting Rainfall Events,” IEEE Access, vol. 13, no. July, pp. 111529–111541, 2025, doi: 10.1109/ACCESS.2025.3573091.
[10] M. T. Anwar, E. Winarno, W. Hadikurniawati, and M. Novita, “Rainfall prediction using Extreme Gradient Boosting,” J. Phys. Conf. Ser., vol. 1869, no. 1, 2021, doi: 10.1088/1742-6596/1869/1/012078.
[11] Hendra Di Kesuma, D. Apriadi, H. Juliansa, and E. Etriyanti, “Implementasi Data Mining Prediksi Mahasiswa Baru Menggunakan Algoritma Regresi Linear Berganda,” J. Ilm. Bin. STMIK Bina Nusant. Jaya Lubuklinggau, vol. 4, no. 2, pp. 62–66, 2022, doi: 10.52303/jb.v4i2.74.
[12] H. Li, Q. Guo, T. Zhang, S. Zhou, and C. Guo, “Interpretable Machine Learning for Predicting Anterior Uveitis in Axial Spondyloarthritis,” JCR J. Clin. Rheumatol., vol. 31, no. 5, 2025, [Online]. Available: https://journals.lww.com/jclinrheum/fulltext/2025/08000/interpretable_machine_learning_for_predicting.9.aspx
[13] E. M. Z. Darmawan and A. Fauzan Dianta, “Implementasi Optimasi Hyperparameter GridSearchCV Pada Sistem Prediksi Serangan Jantung Menggunakan SVM,” Teknol. J. Ilm. Sist. Inf., vol. 13, no. 1, pp. 8–15, 2023, [Online]. Available: https://doi.org/10.26594/teknologi.v13i1.3098Tersediaonlinediwww.journal.unipdu.ac.idHalamanjurnaldiwww.journal.unipdu.ac.id/index.php/teknologi
[14] Z. H. Haq Doost, A. Alsuwaiyan, A. Abdulraheem, N. M. Al-Areeq, and Z. M. Yaseen, “Rainfall Prediction Using Integrated Machine Learning Models With K-Means Clustering: A Representative Case Study of Harirud Murghab Basin-Afghanistan,” IEEE Access, vol. 13, no. April, pp. 111628–111646, 2025, doi: 10.1109/ACCESS.2025.3581921.
[15] N. K. Dewi, “Deteksi Fake Follower Instagram menggunakan Catboost Classifer,” 2021.
[16] S. D. Latif et al., “Assessing rainfall prediction models: Exploring the advantages of machine learning and remote sensing approaches,” Alexandria Eng. J., vol. 82, no. July, pp. 16–25, 2023, doi: 10.1016/j.aej.2023.09.060.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Penerapan Metode Gradient Boosting Regressor Untuk Prediksi Curah Hujan Berdasarkan Data Cuaca Harian BMKG
Pages: 119-127
Copyright (c) 2026 Mohamad Arif Abdul Syukur, Suhartono, M. Imamudin

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


