Optimalisasi Akurasi Prediksi Curah Hujan Bulanan Menggunakan Deep Learning
DOI:
https://doi.org/10.47065/bulletincsr.v5i5.735Keywords:
Rainfall Prediction; RNN; GRU; Deep Learning; Lampung; HydrometeorologyAbstract
The Province of Lampung exhibits high rainfall variability influenced by various atmospheric dynamics such as the Asian Monsoon, Australian Monsoon, El Niño–Southern Oscillation (ENSO), and the Indian Ocean Dipole (IOD). Accurate rainfall prediction is crucial across multiple sectors, including agriculture, water resource management, and hydrometeorological disaster mitigation. However, prediction methods commonly used in the region are still dominated by statistical approaches or conventional machine learning techniques, which often struggle to capture long-term temporal patterns in rainfall data. On the other hand, deep learning technologies such as the Recurrent Neural Network (RNN) and Gated Recurrent Unit (GRU) offer better capabilities in modeling time series data, yet no specific comparative evaluation has been conducted for rainfall prediction in the Lampung Province. Comparing these two methods is important because the architectural characteristics of RNN and GRU differ in handling long-term dependencies, and selecting the right model can directly impact prediction accuracy and the effectiveness of decision-making in affected sectors. This study aims to implement and compare the performance of RNN and GRU in predicting monthly rainfall in Lampung Province using data from 80 rain gauges distributed across 15 districts/cities over the period from January 1991 to February 2025. The results show that the RNN model outperforms the GRU model, with lower RMSE (115.61 vs. 119.50), smaller MAE (86.94 vs. 91.28), and higher R² (0.35 vs. 0.30). Predictions for the period from March 2025 to February 2026 reveal a clear seasonal pattern, with minimum rainfall occurring in August 2025 (peak dry season) and maximum rainfall in January 2026 (peak rainy season). This study demonstrates that RNN is more effective than GRU in capturing the temporal patterns of rainfall, making it more recommended for long-term prediction applications.
Downloads
References
L. Latifo?lu, “A novel combined model for prediction of daily precipitation data using instantaneous frequency feature and bidirectional long short time memory networks,” Environ. Sci. Pollut. Res., vol. 29, no. 28, pp. 42899–42912, 2022, doi: 10.1007/s11356-022-18874-z.
M. Saleem, M. M. Saleem, F. Waseem, and M. A. Bashir, “An Ensemble Forecasting Method based on optimized LSTM and GRU for Temperature and Humidity Forecasting,” Eng. Technol. Appl. Sci. Res., vol. 14, no. 6, pp. 18447–18452, 2024, doi: 10.48084/etasr.9047.
M. D. A. Carnegie and C. Chairani, “Perbandingan Long Short Term Memory (LSTM) dan Gated Recurrent Unit (GRU) Untuk Memprediksi Curah Hujan,” J. Media Inform. Budidarma, vol. 7, no. 3, p. 1022, 2023, doi: 10.30865/mib.v7i3.6213.
W. Surta, K. T. Basuki, E. S. Negara, and Y. N. Kunang, “Rainfall prediction in Palembang City using the GRU and LSTM methods,” Journal of Data Science, vol. 4, no. 2, pp. 1–10, 2023. [Online]. Available: http://eprints.intimal.edu.my/1730/
A. Radford et al., “Learning transferable visual models from natural language supervision,” in Proceedings of the 38th International Conference on Machine Learning (ICML), vol. 139, 2021, pp. 8748–8763. doi: 10.48550/arXiv.2103.00020.
A. Falcon, G. D’Agostino, O. Lanz, G. Brajnik, C. Tasso, and G. Serra, “Neural Turing Machines for the Remaining Useful Life estimation problem,” Comput. Ind., vol. 143, p. 103762, Dec. 2022, doi: 10.1016/J.COMPIND.2022.103762.
Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, May 2015, doi: 10.1038/nature14539.
S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997, doi: 10.1162/neco.1997.9.8.1735.
A. Radford et al., “Learning transferable visual models from natural language supervision,” in Proceedings of the 38th International Conference on Machine Learning (ICML), vol. 139, 2021, pp. 8748–8763. doi: 10.48550/arXiv.2103.00020.
Y. Bengio, P. Y. Simard, and I. Labs, “Learning Long-Term Dependencies with Gradient Descent is Di cult,” IEEE Trans. Neural Networks, vol. 5, no. November, pp. 157–166, 1994, doi: 10.1109/72.279181.
F. Zhang, “Weather forecasting and analysis with LSTM based on deep learning,” in Proceedings of the 2019 2nd International Conference on Information, Computing and Artificial Intelligence (ICIAI), Atlantis Press, 2019, pp. 1–5, doi: 10.2991/iciaai-19.2019.1. [12] J. Chung, “Gated Recurrent Neural Networks on Sequence Modeling arXiv?: 1412 . 3555v1 [ cs . NE ] 11 Dec 2014,” NIPS 2014 Work. Deep Learn., pp. 1–9, 2014.
S. Hemamalini, G. R. K, B. Rajasekar, and S. S. M, “An intelligent weather prediction model using optimized 1D CNN with attention GRU,” Journal of Intelligent & Fuzzy Systems, vol. 26, no. 2, pp. 1–9, 2024. doi: 10.3233/JIFS-232345.
C. Ni, M. F. Marsani, F. P. Shan, and X. Zou, “Flood prediction with optimized gated recurrent unit-temporal convolutional network and improved KDE error estimation,” vol. 9, no. January, pp. 14681–14696, 2024, doi: 10.3934/math.2024714.
I. Firmansyah, A. Yulianto, dan R. Andrian, “Prediksi Curah Hujan Bulanan Menggunakan Metode Long Short-Term Memory (LSTM) di Provinsi Lampung,” Jurnal Teknologi Informasi dan Komunikasi, vol. 11, no. 2, pp. 122–130, 2023.
N. S. Lestari dan M. D. Pratama, “Implementasi Algoritma Gated Recurrent Unit (GRU) pada Prediksi Iklim di Sumatera Bagian Selatan,” Explore: Jurnal Sistem Informasi dan Telematika, vol. 14, no. 1, pp. 33–41, 2023.
R. Nugroho, D. Anggraini, dan T. S. Putra, “Pemanfaatan Deep Learning untuk Analisis Data Hidrometeorologi di Lampung,” Jurnal Sistem Cerdas, vol. 8, no. 2, pp. 88–96, 2022.
A. P. Santoso dan S. Chairani, “Perbandingan Model RNN dan LSTM dalam Prediksi Cuaca Jangka Panjang,” Jurnal Ilmu Komputer Darmajaya, vol. 9, no. 1, pp. 45–54, 2022.
Y. F. Maulana, A. Pratiwi, dan I. Cahyono, “Optimasi Prediksi Curah Hujan Menggunakan Deep Neural Network dengan Regularisasi Dropout,” Prosiding Seminar Nasional Ilmu Komputer Darmajaya, pp. 210–217, 2023.
H. Kurniawan dan R. Saputra, “Evaluasi Performansi Metode Machine Learning untuk Prediksi Cuaca di Provinsi Lampung,” Jurnal Informatika Darmajaya, vol. 15, no. 2, pp. 99–107, 2022.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Optimalisasi Akurasi Prediksi Curah Hujan Bulanan Menggunakan Deep Learning
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2025 Muhammad Ikrom Yafik, Chairani Chairani

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).













