journal article·2025-07-01Open access

Empowering smart cities: Leveraging advanced forecasting models for proactive rainfall prediction and resilient urban planning

Abdulnoor A. J. Ghanim, Ahmad Shaf, Muhammad Irfan, Fawaz Alzabari, Muawia Abdelkafi Magzoub Mohamed Ali

AIP Advances· Volume 15· Issue 7

Abstract

This study highlights the pivotal role of rainfall prediction within the dynamic landscape of smart cities. Accurate rainfall forecasts in such urban environments are foundational for bolstering infrastructure resilience, optimizing resource allocation, and ensuring the well-being of citizens. Employing an array of machine learning and statistical models—including Autoregressive Integrated Moving Average (ARIMA), Recurrent Neural Network (RNN), AdaBoost, Extreme Gradient Boosting (XGBoost), and Seasonal Autoregressive Integrated Moving Average (SARIMA)—this research delves into the prediction of rainfall patterns. Utilizing a comprehensive dataset spanning 116 years (1901–2016) sourced from the Pakistan Meteorological Department, rigorous preprocessing techniques addressed missing values and seasonal variations. Through meticulous segmentation into training and testing sets, the dataset facilitated robust model evaluation, employing diverse performance metrics such as Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), Mean Squared Error (MSE), and Relative Root Mean Square Error (rRMSE). The analysis notably spotlights the outstanding performance of XGBoost and RNN among the models assessed. Specifically, XGBoost showcased exceptional metrics, with an RMSE of 0.1152 mm, MAE of 0.0834 mm, MAPE of 165.9995%, MSE of 0.0133 mm2, and rRMSE of 0.1573%, while RNN closely followed, with an RMSE of 0.1214 mm, MAE of 0.0893 mm, MAPE of 179.8016%, MSE of 0.0147 mm2, and rRMSE of 0.1657%. The integration of these advanced forecasting models into the framework of smart cities empowers urban planners and decision-makers to proactively address challenges posed by extreme weather events. By leveraging cutting-edge predictive techniques, smart cities can enhance their adaptability and responsiveness, ensuring sustainable development and improved quality of life for their inhabitants.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Energy Load and Power Forecasting · Hydrological Forecasting Using AI · Flood Risk Assessment and Management

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Civil Engineering Department, College of Engineering, Najran University 1 , Najran 61441,

Department of Computer Science, COMSATS University Islamabad, Sahiwal Campus 2 , Sahiwal 57000,

Electrical Engineering Department, College of Engineering, Najran University 3 , Najran 61441,

Department of Electrical Engineering, Sudan Technological University, National University 4 , 11111 Khartoum,

Funding

Najran University

References (33)

Show source-provided references
1. Impacts of temporal/spatial rainfall heterogeneities on peak runoff distribution and intensities for an urban river basin of south China10.1002/rvr2.77 ↗
2. Enhancing real-time flood forecasting and warning system by integrating ensemble techniques and hydrologic model simulations10.2166/wcc.2024.052 ↗
3. Assessing rainfall prediction models: Exploring the advantages of machine learning and remote sensing approaches10.1016/j.aej.2023.09.060 ↗
4. Evolution of flood prediction and forecasting models for flood early warning systems: A scoping review10.3390/w16131763 ↗
5. Assessment of long-term rainfall variability and trends using observed and satellite data in central Punjab, Pakistan10.3390/atmos14010060 ↗
6. Understanding the implications of climate change for Australia’s surface water resources: Challenges and future directions10.1016/j.jhydrol.2024.132221 ↗
7. The impact of climate change on insect pest biology and ecology: Implications for pest management strategies, crop production, and food security10.1016/j.jafr.2023.100733 ↗
8. Flood prediction with time series data mining: Systematic review10.1016/j.nhres.2023.10.001 ↗
9. Rainfall prediction: A comparative analysis of modern machine learning algorithms for time-series forecasting10.1016/j.mlwa.2021.100204 ↗
10. Data preprocessing techniques and neural networks for trended time series forecasting10.1016/j.asoc.2025.113063 ↗
11. A support vector machine-based method for improving real-time hourly precipitation forecast in Japan10.1016/j.jhydrol.2022.128125 ↗
12. Autoregressive models in environmental forecasting time series: A theoretical and application review10.1007/s11356-023-25148-9 ↗
13. The characteristics of ARMA (ARIMA) model and some key points to be noted in application: A case study of Changtan Reservoir, Zhejiang province, China10.3390/su16187955 ↗
14. Use of the autoregressive integrated moving average (ARIMA) model to forecast near-term regional temperature and precipitation10.1175/waf-d-19-0158.1 ↗
15. A review of ARIMA vs. machine learning approaches for time series forecasting in data driven networks10.3390/fi15080255 ↗
16. Mitigating the multicollinearity problem and its machine learning approach: A review10.3390/math10081283 ↗
17. Comparative analysis of ARIMA and LSTM model-based anomaly detection for unannotated structural health monitoring data in an immersed tunnel10.32604/cmes.2023.045251 ↗
18. Multi-step rainfall forecasting using deep learning approach10.7717/peerj-cs.514 ↗
19. Deep learning for time series forecasting: A survey10.1089/big.2020.0159 ↗
20. Cyclic gate recurrent neural networks for time series data with missing values10.1007/s11063-022-10950-2 ↗
21. Evaluation of classification and decision trees in predicting daily precipitation occurrences10.2166/ws.2022.017 ↗
22. A comparative study of deep learning and modern machine learning methods for predicting Australia’s precipitation10.14569/ijacsa.2025.0160493 ↗
23. Machine learning-based rainfall prediction: Unveiling insights and forecasting for improved preparedness10.1109/access.2023.3333876 ↗
24. Application of the improved K-nearest neighbor-based multi-model ensemble method for runoff prediction10.3390/w16010069 ↗
25. Prediction of rainfall using intensified LSTM based recurrent neural network with weighted linear units10.3390/atmos10110668 ↗
26. Predicting rainfall using machine learning, deep learning, and time series models across an altitudinal gradient in the North-Western Himalayas10.1038/s41598-024-77687-x ↗
27. Automated predictive analytics tool for rainfall forecasting10.1038/s41598-021-95735-8 ↗
28. Short-term rainfall forecasting using machine learning-based approaches of PSO-SVR, LSTM and CNN10.1016/j.jhydrol.2022.128463 ↗
29. Implementing a novel deep learning technique for rainfall forecasting via climatic variables: An approach via hierarchical clustering analysis10.1016/j.scitotenv.2022.158760 ↗
30. A comparative study of machine learning models for daily and weekly rainfall forecasting10.1007/s11269-024-03969-8 ↗
31. Forecasting of rainfall in Pakistan via sliced functional times series (SFTS)10.5923/j.env.20180801.01 ↗
32. Variability and predictability of summer monsoon rainfall over Pakistan10.1007/s13143-020-00178-2 ↗
33. Flood forecasting by using machine learning: A study leveraging historic climatic records of Bangladesh10.3390/w15223970 ↗