Perbandingan Model Deep Learning LSTM, GRU, dan Bi-LSTM untuk Prediksi Hujan Harian Australia Menggunakan Teknik SMOTE
DOI:
https://doi.org/10.37859/jf.v16i2.11691
Abstract
Climate change causing increasingly erratic rainfall patterns, triggering an increase in hydrometeorological disasters such as floods, droughts, and declining agricultural productivity. Therefore, accurate rainfall prediction is crucial for mitigation and decision-making. However, previous research often focuses solely on accuracy metrics without evaluating the model's computational burden, and often ignores the problem of class imbalance in weather datasets. This study evaluates the performance and computational efficiency of LSTM, GRU, and Bi-LSTM deep learning models for daily rainfall prediction using the historical Australian meteorological dataset weatherAus. The novelty of this study lies in the comprehensive mapping between predictive quality and resource efficiency after dataset balancing. The preprocessing stage includes handling missing values, categorical data transformation, data leakage prevention, data sharing, and the application of SMOTE oversampling. The results of the area under the curve (AUC-ROC) evaluation show that the GRU model is superior with a value of 0.85, surpassing LSTM and Bi-LSTM, respectively, at 0.84. In the rain class recall metric, GRU again leads (0.70), compared to LSTM (0.67), and Bi-LSTM (0.57). Computational evaluation, GRU is significantly more efficient with the fastest training time (1,306.26 seconds), followed by LSTM (2,259.12 seconds), and Bi-LSTM (13,348.43 seconds). Peak RAM usage relatively comparable, GRU (2,053.77 MB), LSTM (1,971.47 MB), and the highest Bi-LSTM (2,242.60 MB). These findings conclude that GRU is recommended as the most optimal model that balances accuracy and efficiency, LSTM as an alternative, while Bi-LSTM is considered less effective. Future research recommended to explore hybrid architectures or ensemble learning to capture more complex spatiotemporal patterns.
Downloads
References
M. Maharani and R. Rajakumari, “Optimizing Rainfall Prediction: A Machine Learning Model Comparison,” in 2025 Third International Conference on Emerging Applications of Material Science and Technology (ICEAMST), 2025, pp. 1141–1147. https://doi.org/10.1109/ICEAMST67459.2025.11335660
A. Yadav, J. Singh, D. Joshi, A. K. Pradhan, and others, “Hybrid Artificial Intelligence-Based Approaches for Rainfall Forecasting,” in 2025 International Conference on Artificial intelligence and Emerging Technologies (ICAIET), 2025, pp. 1–6. https://doi.org/10.1109/ICAIET65052.2025.11210929
M. J. Alam and A. Majumder, “The statistical analysis of rainfall trend and its variability (1901--2020) in Kolkata, India,” Bull. Geogr. Phys. Geogr. Ser., no. 23, pp. 5–16, 2022. https://doi.org/10.12775/bgeo-2022-0006
F. Furizal, A. B. Fawait, H. Maghfiroh, A. Ma’arif, A. A. Firdaus, and I. Suwarno, “Long short-term memory vs gated recurrent unit: a literature review on the performance of deep learning methods in temperature time series forecasting,” Int. J. Robot. Control Syst., vol. 4, no. 3, pp. 1506–1526, 2024. https://doi.org/10.31763/ijrcs.v4i3.1546
I. H. Sarker, “Machine learning: Algorithms, real-world applications and research directions,” SN Comput. Sci., vol. 2, no. 3, pp. 1–21, 2021. https://doi.org/10.1007/s42979-021-00592-x
A. Casolaro, V. Capone, G. Iannuzzo, and F. Camastra, “Deep learning for time series forecasting: Advances and open problems,” Information, vol. 14, no. 11, p. 598, 2023. https://doi.org/10.3390/info14110598
W. Fang, Q. Xue, L. Shen, and V. S. Sheng, “Survey on the application of deep learning in extreme weather prediction,” Atmosphere (Basel)., vol. 12, no. 6, p. 661, 2021. https://doi.org/10.3390/atmos12060661
I. Ayus, N. Natarajan, and D. Gupta, “Comparison of machine learning and deep learning techniques for the prediction of air pollution: a case study from China,” Asian J. Atmos. Environ., vol. 17, no. 1, p. 4, 2023. https://doi.org/10.1007/s44273-023-00005-w
J. Patil and N. Baloorkar, “Weather Predictions using Machine Learning Techniques,” in 2025 3rd International Conference on Sustainable Computing and Data Communication Systems (ICSCDS), 2025, pp. 743–749. https://doi.org/10.1109/ICSCDS65426.2025.11166990
N. Hayaty, H. Kurniawan, M. R. Rathomi, F. Chahyadi, and M. Bettiza, “Rainfall prediction with support vector machines: a case study in Tanjungpinang City, Indonesia,” in Bio web of conferences, 2023, p. 1003. https://doi.org/10.1051/bioconf/20237001003
K. Gupta, R. K. Gupta, and A. Gupta, “Daily, Weekly and Monthly Rain Forecasting using Deep Learning,” in 2024 3rd International Conference for Innovation in Technology (INOCON), 2024, pp. 1–6. https://doi.org/10.1109/INOCON60754.2024.10511700
G. D. Aryoso, B. Kanata, and M. S. Yadnya, “Rainfall Prediction Using Gate Recurrent Unit (Gru) for The Mataram City Area,” J. Penelit. Pendidik. IPA, vol. 11, no. 2, pp. 1114–1119, 2025. https://doi.org/10.29303/jppipa.v11i2.9874
M. L. Hawali and W. Walid, “Pemilihan Neuron LSTM dan LSTM Bayesian Optimization Untuk Prediksi Curah Hujan Bulanan Berbasis Iklim,” J. Fasilkom, vol. 15, no. 2, pp. 376–382, 2025. https://doi.org/10.37859/jf.v15i2.9251
S. H. Setiyani and Y. Rahma, “Penerapan Dekomposisi Matriks untuk Reduksi Kompleksitas Komputasi pada Algoritma Machine Learning,” J. FASILKOM, vol. 16, no. 1, pp. 79–85, 2026. https://doi.org/10.37859/jf.v16i1.11166
D. Leni and others, “Analisis Heatmap Korelasi dan Scatterplot untuk Mengidentifikasi Faktor-Faktor yang Mempengaruhi Pelabelan AC efisiensi Energi,” J. Rekayasa Mater. Manufaktur dan Energi, vol. 6, no. 1, pp. 41–47, 2023. https://doi.org/10.30596/rmme.v6i1.13133
P. S. Sai, T. M. Thiyagu, and P. G. Soumya, “Rainfall Prediction using Machine Learning Algorithms,” in 2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC), 2024, pp. 677–681. https://doi.org/10.1109/ICAAIC60222.2024.10575126
I. Chahid, A. K. Elmiad, and M. Badaoui, “Data preprocessing for machine learning applications in healthcare: a review,” in 2023 14th international conference on intelligent systems: theories and applications (SITA), 2023, pp. 1–6. https://doi.org/10.1109/SITA60746.2023.10373591
S. Cualin, “Handling Imbalanced Data: the SMOTE Technique,” in 2025 17th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), 2025, pp. 1–5. https://doi.org/10.1109/ECAI65401.2025.11095450
R. Mohammed and others, “FADA-SMOTE-Ms: Fuzzy adaptative smote-based methods,” IEEE Access, vol. 12, pp. 158742–158765, 2024. https://doi.org/10.1109/ACCESS.2024.3480848
H. K. Mohajan, “Deep Learning: A Brief Study on Its Architectures and Applications,” Art Soc., vol. 4, no. 8, pp. 41–49, 2025. https://doi.org/10.63593/AS.2709-9830.2025.09.003
V. Sharmila, S. Kannadhasan, A. R. Kannan, P. Sivakumar, and V. Vennila, Challenges in Information, Communication and Computing Technology: Proceedings of the 2nd International Conference on Challenges in Information, Communication, and Computing Technology (ICCICCT 2024), April 26th & 27th, 2024, Namakkal, Tamil Nadu, India. CRC Press, 2024. https://doi.org/10.1201/9781003559092
M. Krichen and A. Mihoub, “Long short-term memory networks: A comprehensive survey,” AI, vol. 6, no. 9, p. 215, 2025. https://doi.org/10.3390/ai6090215
U. Rawat and C. S. Rai, “Enhancing CNN-Attention-LSTM with Novel LSTM Gate Mechanism: Evaluation on Benchmark and Brain Tumor Imaging Datasets,” 2024. https://doi.org/10.21203/rs.3.rs-5392434/v1
H. Asrawi, A. Sunyoto, and B. Setiaji, “Implementation of Bidirectional Gated Recurrent Units for Text Classification,” in 2023 6th International Conference on Information and Communications Technology (ICOIACT), 2023, pp. 464–469. https://doi.org/10.1109/ICOIACT59844.2023.10455822
M. L. Kurniawan, A. P. Sari, and E. Y. Puspaningrum, “Air Quality Prediction using a BiLSTM-Based Approach for Sustainable Environmental Management,” bit-Tech, vol. 8, no. 2, pp. 2555–2564, 2025. https://doi.org/10.32877/bt.v8i2.3286
H. Zhao, G. Zhang, M. Du, and X. Wang, “Improving Global Precipitation in Numerical Weather Prediction Systems based on Deep Learning Techniques,” in 2023 IEEE International Conference on High Performance Computing & Communications, Data Science & Systems, Smart City & Dependability in Sensor, Cloud & Big Data Systems & Application (HPCC/DSS/SmartCity/DependSys), 2023, pp. 333–339. https://doi.org/10.1109/HPCC-DSS-SmartCity-DependSys60770.2023.00053
S. Albelali and M. Ahmed, “Hidden Leaks in Time Series Forecasting: How Data Leakage Affects LSTM Evaluation Across Configurations and Validation Strategies,” arXiv Prepr. arXiv2512.06932, 2025. https://doi.org/10.48550/arXiv.2512.06932
A. Ichwani, R. I. Kesuma, A. Setiawan, I. E. Wicaksono, and R. Hanifah, “Preventing Data Leakage in Classification via Integrated Machine Learning Pipelines: Preprocessing, Feature Transformation, and Hyperparameter Tuning,” J. Tek. Inform., vol. 7, no. 1, pp. 391–410, 2026. https://doi.org/10.52436/1.jutif.2026.7.1.5490.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ari Risnanto, Bayu Tri Nugroho, Arief Hermawan, Donny Avianto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright Notice
An author who publishes in the Jurnal FASILKOM (teknologi inFormASi dan ILmu KOMputer) agrees to the following terms:
- Author retains the copyright and grants the journal the right of first publication of the work simultaneously licensed under the Creative Commons Attribution-ShareAlike 4.0 License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal
- Author is 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 the acknowledgement of its initial publication in this journal.
- Author is permitted and encouraged to post his/her 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 the published work (See The Effect of Open Access).
Read more about the Creative Commons Attribution-ShareAlike 4.0 Licence here: https://creativecommons.org/licenses/by-sa/4.0/.


