Research Article

Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai

Volume: 10 Number: 3 July 6, 2026

Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai

Abstract

Rainfall estimation for a given month plays a crucial role in water resource management, agricultural planning, and flood mitigation. However, accurately predicting rainfall remains challenging due to the nonlinear and dynamic nature of hydrometeorological processes. This study presents a comprehensive comparative analysis of machine learning, deep learning, and classical time-series models for monthly rainfall forecasting in Mumbai. The proposed framework integrates six machine learning regression models, including Linear Regression (LR), Random Forest (RF), Gradient Boosting (GB), Extreme Gradient Boosting (XGBoost), K-Nearest Neighbors (KNN), and Support Vector Regression (SVR), along with a deep learning model (Multilayer Perceptron (MLP)) and classical statistical approaches (Seasonal Autoregressive Integrated Moving Average (SARIMA)) and (Error, Trend, Seasonal (ETS)).The analysis is conducted using 21 years of monthly data (January 2000 to December 2020), with meteorological predictors such as Specific Humidity, Relative Humidity, and Temperature, while precipitation is considered as the target variable. To preserve temporal dependency and avoid data leakage, a chronological 80–20 train–test split is adopted, and consistent preprocessing is applied across all models. Model performance is evaluated using multiple error-based metrics, including Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and coefficient of determination (R²), along with hydrological performance indicators such as Nash–Sutcliffe Efficiency (NSE) and Kling–Gupta Efficiency (KGE). The results demonstrate that no single model consistently outperforms others across all evaluation criteria. ETS and SVR achieve the lowest error values in terms of RMSE, while MLP and SVR exhibit the highest hydrological efficiency (NSE and KGE). In contrast, XGBoost achieves the lowest MAPE, indicating superior relative error performance. Ensemble methods, particularly Voting and Stacking, demonstrate stable and competitive performance across multiple metrics but do not consistently dominate individual models. Statistical validation using paired t-tests and Wilcoxon signed-rank tests confirms that performance differences among models are statistically significant at the 5% level. Additionally, SHAP (Shapley Additive Explanations) analysis identifies Specific Humidity as the most influential predictor of rainfall, enhancing model interpretability. The findings highlight the importance of multi-metric evaluation and demonstrate that both machine learning and classical time-series models can provide reliable rainfall predictions. The study emphasizes that model selection should be guided by the specific evaluation criteria and application context, supporting a robust and flexible approach to hydrometeorological forecasting.

Keywords

References

  1. Syeed, M. M. A., Farzana, M., Namir, I., Ishrar, I., Nushra, M. H., & Rahman, T. (2022). Flood prediction using machine learning models. In Proceedings of the 2022 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA).IEEE. https://doi.org/10.48550/arXiv.2208.01234
  2. Furquim, G., Pessin, G., Faiçal, B. S., Mendiondo, E. M., & Ueyama, J. (2016). Improving the accuracy of a flood forecasting model by means of machine learning and chaos theory: A case study involving a real wireless sensor network deployment in Brazil. Neural Computing and Applications,27(4),1129–1141. https://doi.org/10.1007/s00521-015-1930-z
  3. Durap, A. (2025). Machine learning-based wind speed prediction using random forest: A cross-validated analysis for renewable energy applications. Turkish Journal of Engineering, 9(3),508–518. https://doi.org/10.31127/tuje.1624354
  4. Mishra, P., Verma, R., Sharma, S., & Singh, A. (2024). Modeling and forecasting rainfall patterns in India: A time series analysis with XGBoost algorithm. Environmental Earth Sciences,83(3),163. https://doi.org/10.1007/s12665-024-11481-w
  5. Mitra, P., Ray, R., Chatterjee, R., Basu, R., Saha, P., Raha, S., Barman, R., Patra, S., Biswas, S. S., & Saha, S. (2016). Flood forecasting using Internet of Things and artificial neural networks. In Proceedings of the 2016 IEEE 7th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON). IEEE. https://doi.org/10.1109/IEMCON.2016.7746365
  6. Latif, S. D., Hossain, M., Ahmed, R., & Chowdhury, N. (2023). Assessing rainfall prediction models: Exploring the advantages of machine learning and remote sensing approaches. Alexandria Engineering Journal, 82, 16–25. https://doi.org/10.1016/j.aej.2023.09.060
  7. Chen, C., Jiang, J., Liao, Z., Zhou, Y., Wang, H., & Pei, Q. (2022). A short-term flood prediction based on spatial deep learning network: A case study for Xi County, China. Journal of Hydrology, 607,127535. https://doi.org/10.1016/j.jhydrol.2022.127535
  8. Citakoglu, H., Aktürk, G., & Demir, V. (2025). Hybrid machine learning for drought prediction at multiple time scales: A case study of Ağrı station, Türkiye. Acta Geophysica, 73(2), 1643–1677. https://doi.org/10.1007/s11600-024-01501-5

Details

Primary Language

English

Subjects

Water Resources Engineering

Journal Section

Research Article

Publication Date

July 6, 2026

Submission Date

March 17, 2026

Acceptance Date

June 30, 2026

Published in Issue

Year 2026 Volume: 10 Number: 3

APA
Al-Qazzaz, Z. A. A., Paşa, Y., & Pashaei, E. (2026). Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai. Turkish Journal of Engineering, 10(3), 1167-1187. https://doi.org/10.31127/tuje.1817554
AMA
1.Al-Qazzaz ZAA, Paşa Y, Pashaei E. Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai. TUJE. 2026;10(3):1167-1187. doi:10.31127/tuje.1817554
Chicago
Al-Qazzaz, Zaid Adil Abdulsahib, Yasin Paşa, and Elham Pashaei. 2026. “Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai”. Turkish Journal of Engineering 10 (3): 1167-87. https://doi.org/10.31127/tuje.1817554.
EndNote
Al-Qazzaz ZAA, Paşa Y, Pashaei E (July 1, 2026) Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai. Turkish Journal of Engineering 10 3 1167–1187.
IEEE
[1]Z. A. A. Al-Qazzaz, Y. Paşa, and E. Pashaei, “Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai”, TUJE, vol. 10, no. 3, pp. 1167–1187, July 2026, doi: 10.31127/tuje.1817554.
ISNAD
Al-Qazzaz, Zaid Adil Abdulsahib - Paşa, Yasin - Pashaei, Elham. “Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai”. Turkish Journal of Engineering 10/3 (July 1, 2026): 1167-1187. https://doi.org/10.31127/tuje.1817554.
JAMA
1.Al-Qazzaz ZAA, Paşa Y, Pashaei E. Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai. TUJE. 2026;10:1167–1187.
MLA
Al-Qazzaz, Zaid Adil Abdulsahib, et al. “Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai”. Turkish Journal of Engineering, vol. 10, no. 3, July 2026, pp. 1167-8, doi:10.31127/tuje.1817554.
Vancouver
1.Zaid Adil Abdulsahib Al-Qazzaz, Yasin Paşa, Elham Pashaei. Comparative Analysis of Machine Learning and Time-Series Models for Monthly Rainfall Forecasting: A Case Study of Mumbai. TUJE. 2026 Jul. 1;10(3):1167-8. doi:10.31127/tuje.1817554
Flag Counter