Prediksi Curah Hujan Menggunakan Model Pembelajaran Mendalam Berbasis GRU dan Attention
DOI:
https://doi.org/10.31539/w7qgs076Abstract
This study aimed to compare the performance of the Gated Recurrent Unit (GRU) and Attention-Based GRU models in predicting daily rainfall based on historical weather parameters, including average temperature, relative humidity, sunshine duration, and wind speed. The data used were daily data from the Meteorology, Climatology, and Geophysics Agency (BMKG) for the period 2000–2023. The research steps included data preprocessing, feature selection, model training, and performance evaluation using the Root Mean Square Error (RMSE) metric. The results showed that the GRU model produced an RMSE of 0.5984, while the Attention-Based GRU model provided better and more stable performance with an RMSE of 0.5604. The integration of attention mechanisms has been shown to improve prediction accuracy, model stability, and resilience to overfitting, thus contributing to climate change adaptation strategies and decision-making in the agricultural sector.
Keywords: Extreme Weather, Rainfall, Deep Learning, Early Warning, Weather Prediction.
References
AbdulRaheem, M., Awotunde, J. B., Adeniyi, A. E., Oladipo, I. D., & Adekola, S. O. (2022). Weather prediction performance evaluation on selected machine learning algorithms. IAES International Journal of Artificial Intelligence (IJ-AI), 11(4), 1535–1544. https://doi.org/10.11591/ijai.v11.i4.pp1535-1544
Akbar, A. A., Darmawan, Y., Wibowo, A., & Rahmat, H. K. (2024). Accuracy assessment of monthly rainfall predictions using Seasonal ARIMA and Long Short-Term Memory (LSTM). JCSE Journal of Computer Science and Engineering, 5(2), 99–114.
Aprianto, R., Tawaqqal, A., & Puspitasari, P. A. D. (2025). Prediksi curah hujan menggunakan metode Holt-Winters di Kabupaten Sumbawa. Titian Ilmu: Jurnal Ilmiah Multi Sciences, 17(1), 42–52. https://doi.org/10.30599/eybf7238
Dash, S., Siddique, M., & Mishra, S. (2026). Brain tumor detection and classification using DSFCM segmentation and CSA-ELM hybrid model. In Proceedings of the International Conference on Computational Mathematics and Applications (pp. 563–572). Springer. https://doi.org/10.1007/978-981-96-8987-3_42
Dewanti, F., Imaningsih, N., & Fadil, C. (2024). Dampak perubahan iklim El Nino terhadap produktivitas tanaman padi di Indonesia. Jurnal Ilmiah Wahana Pendidikan, 10(19), 369–377.
Elah, N., Febiansah, F., Alkausar, M. H., & Rodibillah, F. (2025). Prediksi cuaca di Provinsi Jawa Barat. JATI (Jurnal Mahasiswa Teknik Informatika), 7(1), 690–697.
Habibi, M. S. A., Abdillah, A. H., Idhom, M., & Trimono. (2025). Perbandingan kinerja GRU dan SVR untuk prediksi emas di Indonesia. Informatika: Jurnal Teknik Informatika dan Multimedia, 5(1), 141–150. https://doi.org/10.51903/informatika.v5i1.1105
Herlina, N., & Prasetyorini, A. (2020). Effect of climate change on planting season and productivity of maize (Zea mays L.) in Malang Regency. Jurnal Ilmu Pertanian Indonesia, 25(1), 118–128. https://doi.org/10.18343/jipi.25.1.118
Iliyas, I. I., Umoru, A., Chahari, A. E., & Garba, M. M. (2022). Performance evaluation of machine learning models for weather forecasting. Journal of Artificial Intelligence and Systems, 4(1), 22–32. https://doi.org/10.33969/ais.2022040102
Nugraha, D. M., & Ariatmanto, D. (2025). Meningkatkan akurasi prediksi harga Bitcoin dengan algoritma GRU-LSTM hibrida. Jurnal Buffer Informatika, 11(1), 16–26. https://journal.fkom.uniku.ac.id/index.php/buffer
Priyono, E. (2024). Evaluating the impact of agricultural technology on greenhouse gas emissions using machine learning. Journal of Information System Indonesia, 6(4), 2224–2236. https://doi.org/10.51519/journalisi.v6i4.870
Raymond, R., Saputra, N., Tupamahu, M., Herawati, N. A., Purwarianti, A., & Utama, N. P. (2025). Analisis komparatif algoritma LSTM, GRU, BiGRU, dan BiLSTM untuk prediksi degradasi bearing turbin PLTU. Jurnal Infomedia: Teknik Informatika, Multimedia, dan Jaringan, 10(1), 11–17.
Robby Sugara, M., Khudori, A. N., & Haris, M. S. (2025). Peningkatan sistem rekomendasi layanan kesehatan menggunakan filter kolaboratif berbasis pengguna dengan imputasi K-Nearest Neighbors untuk mengatasi kekurangan data. Jurnal Mahasiswa Teknik Informatika, 9(6), 9500–9508. https://ejournal.itn.ac.id/jati/article/view/15636
Rusnani, E., Tukidi, & Haryanto, E. (2025). The original text of the citation indicates a study likely related to education, community, or development. Journal of Scientech Research and Development, 3(1), 24–32.
Sandiwarno, S. (2024). Penerapan machine learning untuk prediksi bencana banjir. Jurnal Sistem Informasi Bisnis, 14(1), 62–76. https://doi.org/10.21456/vol14iss1pp62-76
Switrayana, I. N., Hammad, R., Irfan, P., Sujaka, T. T., & Nasri, M. H. (2025). Comparative analysis of stock price prediction using deep learning with data scaling method. JTIM: Jurnal Teknologi Informasi dan Multimedia, 7(1), 78–90.
Uliyatunisa, & Supriatna, D. (2025). Komparasi model LSTM dan CNN-LSTM untuk peramalan curah hujan di Kota Tangerang Selatan. Bulletin of Information Technology (BIT), 6(3), 294–301. https://doi.org/10.47065/bit.v6i3.2235
Wei, Y., Xu, K., Yao, J., Sun, M., & Sun, Y. (2024). Financial risk analysis using integrated data and transformer-based deep learning. Journal of Computer Science and Software Applications, 4(7), 1–8. https://doi.org/10.5281/zenodo.15714892
Wiujianna, A., Pribadi, F. S., Djuniadi, & Sunarno, S. (2025). Prediksi kabut menggunakan RNN dan LSTM dengan attention mechanism di Bandara Ruteng. Komputika: Jurnal Sistem Komputer, 14(1), 87–93. https://doi.org/10.34010/8e86yg15
Yuan, S., & Zhou, L. (2025). GTA-Net: An IoT-integrated 3D human pose estimation system for real-time adolescent sports posture correction. Alexandria Engineering Journal, 112, 585–597. https://doi.org/10.1016/j.aej.2024.10.099
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Apit Sutaryani, Djuniadi Djuniadi, Soenarno, Tri Istiana

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

