Perbandingan Metode Recurrent Neural Network (RNN) dan Long Short-Term Memory (LSTM) untuk Prediksi Curah Hujan
Abstract
The increase in extreme rainfall intensity due to climate change has caused Batang Regency to become a hydrometeorological disaster-prone area. This research aims to build an day rainfall prediction model using Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) based on BMKG historical data. The model is evaluated using Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) metrics. The results show that LSTM has higher accuracy than RNN, with an RMSE: 0.1036 | MAE: 0.0730. Meanwhile, RNN obtained an RMSE: 0.1035 | MAE: 0.0763. LSTM is also more stable in predicting temperature, direction, and wind speed variables. These findings show that LSTM is more effective for weather time series data and can be used as a basis for developing data-based disaster early warning systems in local areas.
Downloads
References
J. K. Mutinda and A. K. Langat, “Stock price prediction using combined GARCH-AI models,” Sci Afr, vol. 26, no. July, p. e02374, 2024, doi: 10.1016/j.sciaf.2024.e02374.
G. Jerse and A. Marcucci, “Deep Learning LSTM-based approaches for 10.7 cm solar radio flux forecasting up to 45-days,” Astronomy and Computing, vol. 46, no. January, p. 100786, 2024, doi: 10.1016/j.ascom.2024.100786.
F. F. Mojtahedi, N. Yousefpour, S. H. Chow, and M. Cassidy, “Deep Learning for Time Series Forecasting: Review and Applications in Geotechnics and Geosciences,” Archives of Computational Methods in Engineering, vol. 32, no. 6, pp. 3415–3445, 2025, doi: 10.1007/s11831-025-10244-5.
Y. Man, Q. Yang, J. Shao, G. Wang, L. Bai, and Y. Xue, “Enhanced LSTM Model for Daily Runoff Prediction in the Upper Huai River Basin, China,” Engineering, vol. 24, pp. 229–238, 2023, doi: 10.1016/j.eng.2021.12.022.
P. H. Frederik, K. Daniel, K. Christina, and H. Markus, “MC-LSTM : Mass-Conserving LSTM,” 2021.
T. L. Rohana, “Penerapan Metode Peramalan Menggunakan Fuzzy Arma,” MATHunesa: Jurnal Ilmiah Matematika, vol. 13, no. 1, pp. 13–24, 2025, doi: 10.26740/mathunesa.v13n1.p13-24.
S. Sahoo and A. Govind, “Understanding Changes in the Hydrometeorological Conditions towards Climate-Resilient Agricultural Interventions in Ethiopia,” Agronomy, vol. 13, no. 2, 2023, doi: 10.3390/agronomy13020387.
D. A. Alif Hidayat, M. H. M. Aditya Pradana, and A. Saikhu, “Hybrid Decomposition ICEEMDAN-EWT Deep Learning Framework for Wind Speed Forecasting,” Journal of Applied Informatics and Computing, vol. 9, no. 4, pp. 1332–1345, 2025, doi: 10.30871/jaic.v9i4.10241.
A. López-García, O. Blasco-Blasco, M. Liern-García, and S. E. Parada-Rico, “Early detection of students’ failure using Machine Learning techniques,” Operations Research Perspectives, vol. 11, no. November, p. 100292, 2023, doi: 10.1016/j.orp.2023.100292.
I. D. Mienye, T. G. Swart, and G. Obaido, “Recurrent Neural Networks: A Comprehensive Review of Architectures, Variants, and Applications,” Information (Switzerland), vol. 15, no. 9, pp. 1–34, 2024, doi: 10.3390/info15090517.
A. Raup, W. Ridwan, Y. Khoeriyah, S. Supiana, and Q. Y. Zaqiah, “Deep Learning dan Penerapannya dalam Pembelajaran,” JIIP - Jurnal Ilmiah Ilmu Pendidikan, vol. 5, no. 9, pp. 3258–3267, 2022, doi: 10.54371/jiip.v5i9.805.
D. Tarkus, S. R. U. A. Sompie, and A. Jacobus, “Implementasi Metode Recurrent Neural Network pada Pengklasifikasian Kualitas Telur Puyuh,” Jurnal Teknik Informatika, vol. 15, no. 2, pp. 137–144, 2020.
N. S. Islamaynita, D. Prawira, and N. Mutiah, “Prediksi Kata Selanjutnya Pada Rekam Medis Elektronik Klinik XYZ Menggunakan Bidirectional LSTM,” Coding : Jurnal Komputer dan Aplikasi, vol. 13, no. 2, pp. 136–148, 2025.
A. Kumar, N. Gaur, and A. Nanthaamornphong, “Machine learning RNNs, SVM and NN Algorithm for Massive-MIMO-OTFS 6G Waveform with Rician and Rayleigh channel,” Egyptian Informatics Journal, vol. 27, no. July, p. 100531, 2024, doi: 10.1016/j.eij.2024.100531.
L. Kristiana and D. Miyanto, “Penambahan Parameter PM2.5 dalam Prediksi Kualitas Udara : Long Short Term Memory,” Multimedia Artificial Intelligent Networking Database (MIND), vol. 8, no. 2, pp. 188–202, 2023.
B. A. H. Kholifatullah and A. Prihanto, “Penerapan Metode Long Short Term Memory Untuk Klasifikasi Pada Hate Speech,” Journal of Informatics and Computer Science (JINACS), vol. 04, pp. 292–297, 2023, doi: 10.26740/jinacs.v4n03.p292-297.
S. B. Timothy, C. Imam, and Y. Novanto, “Penerapan Algoritma Long Short-Term Memory (LSTM) berbasis Multi Fungsi Aktivasi Terbobot dalam Prediksi Harga Ethereum,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 7, no. 3, pp. 1101–1107, 2023, [Online]. Available: http://j-ptiik.ub.ac.id
N. D. Alotaibi, H. Jahanshahi, Q. Yao, J. Mou, and S. Bekiros, “An Ensemble of Long Short-Term Memory Networks with an Attention Mechanism for Upper Limb Electromyography Signal Classification,” Mathematics, vol. 11, no. 18, 2023, doi: 10.3390/math11184004.
A. Zafar et al., “Enhanced solar power forecasting in smart grids using a hybrid autoencoder and long short-term memory model,” Energy Exploration and Exploitation, 2025, doi: 10.1177/01445987251360490.
A. Rosyd, A. Irma Purnamasari, and I. Ali, “Penerapan Metode Long Short Term Memory (Lstm) Dalam Memprediksi Harga Saham Pt Bank Central Asia,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 501–506, 2024, doi: 10.36040/jati.v8i1.8440.
A. Herdhyanti, L. Muflikhah, and I. Cholissodin, “Prediksi Curah Hujan dengan Empat Parameter menggunakan Backpropagation (Studi Kasus: Stasiun Meteorologi Ahmad Yani),” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 12, pp. 5862–5870, 2022, [Online]. Available: http://j-ptiik.ub.ac.id
R. Yulvina et al., “Hybrid Vision Transformer and Convolutional Neural Network for Multi-Class and Multi-Label Classification of Tuberculosis Anomalies on Chest X-Ray,” Computers, vol. 13, no. 12, pp. 1–29, 2024, doi: 10.3390/computers13120343.
M. M. Ahsan, M. A. P. Mahmud, P. K. Saha, K. D. Gupta, and Z. Siddique, “Effect of Data Scaling Methods on Machine Learning Algorithms and Model Performance,” Technologies (Basel), vol. 9, no. 3, pp. 5–9, 2021, doi: 10.3390/technologies9030052.
W. A. Firmansyach, U. Hayati, and Y. Arie Wijaya, “Analisa Terjadinya Overfitting Dan Underfitting Pada Algoritma Naive Bayes Dan Decision Tree Dengan Teknik Cross Validation,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 1, pp. 262–269, 2023, doi: 10.36040/jati.v7i1.6329.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Metode Recurrent Neural Network (RNN) dan Long Short-Term Memory (LSTM) untuk Prediksi Curah Hujan
Pages: 1450-1463
Copyright (c) 2025 Taufan Hermawan, Eri Zuliarso

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





















