Article Open Access

Performance Evaluation of Machine Learning and Deep Learning for Rainfall Forecasting

Arief Andy Soebroto, Lily Montarcih Limantara, Wayan Firdaus Mahmudy, Moh. Sholichin, Nurul Hidayat, Agi Putra Kharisma

Abstract


Climate change is a significant challenge for both humans and the environment, with its impacts increasingly felt across various regions of the world. The most evident consequence is the alteration of extreme weather patterns, which often lead to destructive and life-threatening natural disasters. Among these, extreme rainfall was the most damaging factor, frequently triggering floods. However, the increasing occurrence of related events outlined the urgent need for developing more accurate rainfall forecasting systems as a strategic measure for disaster risk reduction. This research adopted daily rainfall data from Samarinda City, collected between 2004 and 2012, to conduct prediction using both machine and deep learning methods. The implementation of machine learning methods, such as Support Vector Regression (SVR), enabled the model to learn from historical data and uncover complex patterns, resulting in accurate forecasts and improved adaptability to climate variability. Meanwhile, deep learning models, including Recurrent Neural Networks (RNN) and Long Short-Term Memory (LSTM), enhanced prediction performance by capturing more intricate and abstract data relationships. Performance evaluations conducted using Mean Absolute Error (MAE) and Mean Squared Error (MSE) showed that deep learning outperformed machine learning in accuracy. The LSTM model achieved the best performance, with loss values of 0.0482 and 0.0527 for MSE and MAE, respectively. The advantage of deep learning lies in its ability to build more complex models for handling non-linear problems and to learn data representations at various levels of abstraction, which has led to more accurate results. Furthermore, LSTM surpassed RNN by effectively overcoming the vanishing gradient issue, allowing for more stable and efficient training that led to superior predictive performance.


Keywords


Climate Change, Deep Learning, Forecasting, Machine Learning, Rainfall

References


O. Alizadeh, "Advances and challenges in climate modeling," Climatic Change, vol. 170, no. 1, p. 18, 2022. doi: 10.1007/s10584-021-03298-4.

M. Bufalo, C. Ceci, and G. Orlando, “Addressing the financial impact of natural disasters in the era of climate change,” The North American Journal of Economics and Finance, vol. 73, p. 102152, Apr. 2024, doi: 10.1016/j.najef.2024.102152.

F. Giglio, P. Frontera, A. Malara, and F. Armocida, "Materials and Climate Change: A Set of Indices as the Benchmark for Climate Vulnerability and Risk Assessment for Tangible Cultural Heritage in Europe," Sustainability, vol. 16, no. 5, p. 2067, 2024. doi: 10.3390/su16052067.

C. Xie et al., “Advances in the study of natural disasters induced by the ‘23.7’ extreme rainfall event in North China,” Natural Haz-ards Research, Jan. 2025, doi: 10.1016/j.nhres.2025.01.003.

M. L. Museru, R. Nazari, A. N. Giglou, K. Opare, and M. Karimi, “Advancing flood damage modeling for coastal Alabama resi-dential properties: A multivariable machine learning approach,” The Science of the Total Environment, vol. 907, p. 167872, Oct. 2023, doi: 10.1016/j.scitotenv.2023.167872.

A. Kurniadi, E. Weller, J. Salmond, and E. Aldrian, “Future projections of extreme rainfall events in Indonesia,” International Journal of Climatology, vol. 44, no. 1, pp. 160–182, Dec. 2023, doi: 10.1002/joc.8321.

Md. Esraz?Ul?Zannat, A. Dedekorkut?Howes, and E. A. Morgan, “A review of nature?based infrastructures and their effectiveness for urban flood risk mitigation,” Wiley Interdisciplinary Reviews Climate Change, vol. 15, no. 5, May 2024, doi: 10.1002/wcc.889.

K. M. A. Abdouli, A. Rai, G. Tenzin, U. Gayleg, N. Chhetri, and A. Chhetri, “Real-time flood forecasting in Amo Chhu using machine learning model and internet of things,” Cogent Engineering, vol. 11, no. 1, Jun. 2024, doi: 10.1080/23311916.2024.2370900.

H. Xu, Y. Zhao, Z. Dajun, Y. Duan, and X. Xu, “Exploring the typhoon intensity forecasting through integrating AI weather fore-casting with regional numerical weather model,” Npj Climate and Atmospheric Science, vol. 8, no. 1, Feb. 2025, doi: 10.1038/s41612-025-00926-z.

A. A. Soebroto, L. M. Limantara, E. Suhartanto, and M. Sholichin, "Modelling of Group Decision Support Systems For Flood Alert With Nakayasu Synthetic Unit Hydrograph In Gadang Watershed," Journal of Southwest Jiaotong University, vol. 58, no. 1, 2023. doi: 10.35741/issn.0258-2724.58.1.13.

A. A. Soebroto, L. M. Limantara, E. Suhartanto, and M. Sholichin, "Modelling of Flood Hazard Early Warning Group Decision Support System," Civil Engineering Journal, vol. 10, no. 2, pp. 614–627, 2024. doi: 10.28991/CEJ-2024-010-02-018.

Z. Liu, N. Coleman, F. I. Patrascu, K. Yin, X. Li, and A. Mostafavi, “Artificial Intelligence for Flood Risk Management: A Com-prehensive State-of-the-Art Review and Future Directions,” International Journal of Disaster Risk Reduction, vol. 117, p. 105110, Dec. 2024, doi: 10.1016/j.ijdrr.2024.105110.

S. Q. Dotse, I. Larbi, A. M. Limantol, and L. C. De Silva, "A review of the application of hybrid machine learning models to im-prove rainfall prediction," Modeling Earth Systems and Environment, vol. 10, no. 1, pp. 19–44, 2024. doi: 10.1007/s40808-023-01835-x.

M. M. Taye, "Understanding of machine learning with deep learning: architectures, workflow, applications and future directions," Computers, vol. 12, no. 5, p. 91, 2023. doi: 10.3390/computers12050091.

S. S. Choudhary and S. K. Ghosh, "Analysis of rainfall and temperature using deep learning model," Theoretical and Applied Cli-matology, vol. 153, no. 1, pp. 755–770, 2023. doi: 10.1007/s00704-023-04493-2.

O. A. Wani et al., “Predicting rainfall using machine learning, deep learning, and time series models across an altitudinal gradient in the North-Western Himalayas,” Scientific Reports, vol. 14, no. 1, Nov. 2024, doi: 10.1038/s41598-024-77687-x.

W. Li, X. Gao, Z. Hao, and R. Sun, "Using deep learning for precipitation forecasting based on spatio-temporal information: a case study," Climate Dynamics, vol. 58, no. 1, pp. 443–457, 2022. doi: 10.1007/s00382-021-05916-4.

P. K. Das, R. L. Sahu, and P. C. Swain, “Comparative analysis of machine learning models for rainfall prediction,” Journal of At-mospheric and Solar-Terrestrial Physics, vol. 264, p. 106340, Aug. 2024, doi: 10.1016/j.jastp.2024.106340.

N. Haeruddin, E. Noersasongko, N. Purwanto, and N. Muljono, “A Multi-Model Framework for Rainfall Forecasting: Evaluating Performance Model Statistical, Machine Learning, and Deep Learning Methods,” 2025 International Conference on Smart Compu-ting, IoT and Machine Learning (SIML), pp. 1–6, Jun. 2025, doi: 10.1109/siml65326.2025.11080798.

X. Li, K. Li, S. Shen, and Y. Tian, "Exploring Time Series Models for Wind Speed Forecasting: A Comparative Analysis," Ener-gies, vol. 16, no. 23, p. 7785, 2023. doi: 10.3390/en16237785.

P. Mishra et al., “Modeling and forecasting rainfall patterns in India: a time series analysis with XGBoost algorithm,” Environmen-tal Earth Sciences, vol. 83, no. 6, Mar. 2024, doi: 10.1007/s12665-024-11481-w.

S. Chen et al., “Improving the accuracy of flood forecasting for Northeast China by the correction of global forecast rainfall based on deep learning,” Journal of Hydrology, vol. 640, p. 131733, Jul. 2024, doi: 10.1016/j.jhydrol.2024.131733.

A. A. Alsumaiei, “Long-term rainfall forecasting in arid climates using artificial intelligence and statistical recurrent models,” Jour-nal of Engineering Research, Mar. 2024, doi: 10.1016/j.jer.2024.03.001.

N. Rane, S. Choudhary, and J. Rane, “Artificial intelligence for enhancing resilience,” Journal of Applied Artificial Intelligence, vol. 5, no. 2, pp. 1–33, Sep. 2024, doi: 10.48185/jaai.v5i2.1053.

M. Goos and M. Savona, “The governance of artificial intelligence: Harnessing opportunities and mitigating challenges,” Research Policy, vol. 53, no. 3, p. 104928, Jan. 2024, doi: 10.1016/j.respol.2023.104928.

T. Ahmad, R. Madonski, D. Zhang, C. Huang, and A. Mujeeb, "Data-driven probabilistic machine learning in sustainable smart energy/smart energy systems: Key developments, challenges, and future research opportunities in the context of smart grid para-digm," Renewable and Sustainable Energy Reviews, vol. 160, p. 112128, 2022. doi: 10.1016/j.rser.2022.112128.

S. Dargan, M. Kumar, M. R. Ayyagari, and G. Kumar, "A survey of deep learning and its applications: a new paradigm to machine learning," Archives of Computational Methods in Engineering, vol. 27, pp. 1071–1092, 2020. doi: 10.1007/s11831-019-09344-w.

B. O. Akinsehinde, C. Shang, and Q. Shen, “Achieving reliable rainfall forecasting through ensemble deep learning, fuzzy systems, and advanced feature selection,” International Journal of General Systems, pp. 1–53, Mar. 2025, doi: 10.1080/03081079.2025.2471993.

L. Herrmann and S. Kollmannsberger, “Deep learning in computational mechanics: a review,” Computational Mechanics, vol. 74, no. 2, pp. 281–331, Jan. 2024, doi: 10.1007/s00466-023-02434-4.

M. Akbarian, B. Saghafian, and S. Golian, "Monthly streamflow forecasting by machine learning methods using dynamic weather prediction model outputs over Iran," Journal of Hydrology, vol. 620, p. 129480, 2023. doi: 10.1016/j.jhydrol.2023.129480.

O. A. Montesinos López, A. Montesinos López, and J. Crossa, "Support vector machines and support vector regression," in Multi-variate Statistical Machine Learning Methods for Genomic Prediction, Cham: Springer International Publishing, 2022, pp. 337–378. doi: 10.1007/978-3-030-89010-0_9.

P. Das, D. A. Sachindra, and K. Chanda, "Machine learning-based rainfall forecasting with multiple non-linear feature selection algorithms," Water Resources Management, vol. 36, no. 15, pp. 6043–6071, 2022. doi: 10.1007/s11269-022-03341-8.

S. F. Ahmed et al., "Deep learning modelling techniques: current progress, applications, advantages, and challenges," Artificial Intelligence Review, vol. 56, no. 11, pp. 13521–13617, 2023. doi: 10.1007/s10462-023-10466-8.

M. Lin, D. Wu, S. Chen, J. Meng, W. Wang, and J. Wu, “Battery health prognosis based on sliding window sampling of charging curves and independently recurrent neural network,” IEEE Transactions on Instrumentation and Measurement, vol. 73, pp. 1–9, Jan. 2024, doi: 10.1109/tim.2023.3348894.

W. Li and T. Gao, “Water level prediction of firewater system based on improved hybrid LSTM algorithm,” IEEE Access, vol. 12, pp. 130305–130316, Jan. 2024, doi: 10.1109/access.2024.3444189.

J. Jang, J. Han, and S. B. Leigh, "Prediction of heating energy consumption with operation pattern variables for non-residential buildings using LSTM networks," Energy and Buildings, vol. 255, p. 111647, 2022. doi: 10.1016/j.enbuild.2021.111647.

P. Nguyen-Duc, H. D. Nguyen, Q.-H. Nguyen, T. Phan-Van, and H. Pham-Thanh, “Application of Long Short-Term Memory (LSTM) Network for seasonal prediction of monthly rainfall across Vietnam,” Earth Science Informatics, vol. 17, no. 5, pp. 3925–3944, Jul. 2024, doi: 10.1007/s12145-024-01414-3.

J. Jian, S. He, W. Liu, S. Liu, and L. Guo, “A refined method for the simulation of catchment rainfall–runoff based on satellite–precipitation downscaling,” Journal of Hydrology, vol. 653, p. 132795, Feb. 2025, doi: 10.1016/j.jhydrol.2025.132795.

Ö. A. Karaman, "Prediction of wind power with machine learning models," Applied Sciences, vol. 13, no. 20, p. 11455, 2023. doi: 10.3390/app132011455.

M. Wang et al., “Estimating rainfall intensity based on surveillance audio and deep-learning,” Environmental Science and Ecotech-nology, vol. 22, p. 100450, Jul. 2024, doi: 10.1016/j.ese.2024.100450.

D. Trivedi, O. Sharma, and S. Pattnaik, “Minimization of forecast error using deep learning for real-time heavy rainfall events over Assam,” IEEE Geoscience and Remote Sensing Letters, vol. 21, pp. 1–4, Jan. 2024, doi: 10.1109/lgrs.2024.3378517.

Z. Xu, B. Zhang, D. Li, W. S. Yip, and S. To, “Digital-twin-driven intelligent tracking error compensation of ultra-precision ma-chining,” Mechanical Systems and Signal Processing, vol. 219, p. 111630, Jun. 2024, doi: 10.1016/j.ymssp.2024.111630.

E. S. K. Tiu et al., "An evaluation of various data pre-processing techniques with machine learning models for water level predic-tion," Natural Hazards, vol. 110, no. 1, pp. 121–153, 2022. doi: 10.1007/s11069-021-04939-8.

F. Jeribi et al., “A deep learning based expert framework for portfolio prediction and forecasting,” IEEE Access, vol. 12, pp. 103810–103829, Jan. 2024, doi: 10.1109/access.2024.3434528.

A. Ariffien, S. Lamsir, R. Rasna, Q. Aini, and Moh. R. I. Matdoan, “Forecasting the inventory of milled dry grain using the lot sizing method at Markom Rice Mill,” International Journal of Engineering Science and Information Technology, vol. 5, no. 2, pp. 223–231, 2025. doi: 10.52088/ijesty.v5i2.817.

S. Ardiansyah, R. K. Dinata, and A.-R. Ar-Razi, “Comparison of the results of the weighted moving Average method and the least absolute shrinkage and Selection operator method for predicting total palm oil production at PT. Mora Niaga Jaya,” International Journal of Engineering Science and Information Technology, vol. 5, no. 2, pp. 448–454, 2025. doi: 10.52088/ijesty.v5i2.862.

F. Xie et al., "Deep learning for temporal data representation in electronic health records: A systematic review of challenges and methodologies," Journal of Biomedical Informatics, vol. 126, p. 103980, 2022. doi: 10.1016/j.jbi.2021.103980.

A. Yunita et al., “Performance analysis of neural network architectures for time series forecasting: A comparative study of RNN, LSTM, GRU, and hybrid models,” MethodsX, vol. 15, p. 103462, Jul. 2025, doi: 10.1016/j.mex.2025.103462.




DOI: https://doi.org/10.52088/ijesty.v5i4.1179

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Arief Andy Soebroto, Lily Montarcih Limantara, Wayan Firdaus Mahmudy, Moh. Sholichin, Nurul Hidayat, Agi Putra Kharisma

International Journal of Engineering, Science, and Information Technology (IJESTY) eISSN 2775-2674