Deep Learning Time Series Models for Accurate Weather Prediction

Author's Information:

Tayo P. Ogundunmade

Department of Statistics, University of Ibadan, Ibadan, Nigeria

Thauban O. Omooseti

Department of Statistics, University of Ibadan, Ibadan, Nigeria

Oyebimpe E. Adeniji

Department of Statistics, University of Ibadan, Ibadan, Nigeria

Vol 02 No 11 (2025):Volume 02 Issue 11 November 2025

Page No.: 212-222

Abstract:

Weather forecasting remains an important scientific activity that is intricately connected to human life activities like agriculture, transportation, disaster management, and even public health. Predictive accuracy improves the ability of society to cope with extreme weather conditions, increases agricultural outputs, and reduces the risks because of climate change. Although there have been advancements in meteorological science, the chaotic and non-linear nature of atmospheric processes makes precise forecasting still a complicated challenge. There is always a combination of statistical and numerical weather prediction models, which is greatly inefficient when it comes to capturing long-range dependencies and complex temporal patterns. The results are poor with mid- to long-range forecasts. With the increase in concern over climate change and availability of deep learning algorithms, there is an opportunity to use modern machine learning techniques to improve predictive accuracy. Weather forecasting has time-series data, and hence deep learning models such as Time-Aware Long Short-Term Memory (LSTM), Gated Recurrent Units (GRU), and even the newer Transformer-based architectures are suitable. Based on the comparison of models’ performance, it can be concluded that the GRU model is the best among all with the highest prediction accuracy considering all parameters—Mean Square Error (MSE), Mean Absolute Error (MAE), and R-square values.

KeyWords:

Temperature, Weather, Gated Recurrent Units, Predictions, Long Short-Term Memory

References:

  1. M. A. Rodríguez, G. Mateos, and S. Alonso, “Weather forecastingwith transformer models: a comparative study”, Environ. Model. Softw., Vol. 141, pp. 105057, 2021.
  2. H. Wang, H. Guan, and J. Chen, “A transformer-based approach for weather prediction”, Proc. of the 2020 Int. Conf. Artif. Intell. Comp. Sci., pp. 171-176, 2020.
  3. C. Zeng, C. Ma, K. Wang, and Z. Cui, “Parking Occupancy Prediction Method Based on Multi Factors and Stacked GRU-LSTM,” Ieee Access, 2022, doi: 10.1109/access.2022.3171330.
  4. S. Scher and G. Messori, “Predicting Weather Forecast Uncertainty With Machine Learning,” Quarterly Journal of the Royal Meteorological Society, 2018, doi: 10.1002/qj.3410.
  5. T. P. Agyekum, P. Antwi-Agyei, and A. J. Dougill, “The contribution of weather forecast information to agriculture,water, and energy sectors in East and West Africa: A systematic review,” Frontiers in Environmental Science, vol.10, 2022, [Online]. Available: https://www.frontiersin.org/articles/10.3389/fenvs.2022.935696
  6. Toth, E.; Brath, A.; Montanari, A. Comparison of short-term rainfall prediction models for real-time flood forecasting. J. Hydrol. 2000, 239, 132–147. 
  7. Jia, Y.; Zhao, H.; Niu, C.; Jiang, Y.; Gan, H.; Xing, Z.; Zhao, X.; Zhao, Z. A webgis-based system for rainfall-runoff prediction and real-time water resources assessment for beijing. Comput. Geosci. 2009, 35, 1517–1528. 
  8. Afolabi O. Adedamola; Tayo P. Ogundunmade (2025). Predictive Modelling of Crime Data using Machine Learning Models: A Case Study of Oyo State, Nigeria. International Journal of Innovative Science and Research Technology, 10(4), 1669-1677. https://doi.org/10.38124/ijisrt/25apr851.
  9. Kashiwao, T.; Nakayama, K.; Ando, S.; Ikeda, K.; Lee, M.; Bahadori, A. A neural network-based local rainfall prediction system using meteorological data on the internet: A case study using data from the japan meteorological agency. Appl. Soft Comput. 2017, 56, 317–330. 
  10. Hernández, E.; Sanchez-Anguix, V.; Julian, V.; Palanca, J.; Duque, A.N. Rainfall prediction: A deep learning approach. In Lecture Notes in Computer Science, Proceedings of the International Conference on Hybrid Artificial Intelligence Systems, Seville, Spain, 18–20 April 2016; Springer: Cham, Switzerland, 2016; pp. 151–162.
  11. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. 
  12. Cho, K., van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078.
  13. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30.
  14. Shi, X., Chen, Z., Wang, H., Yeung, D.-Y., Wong, W.-K., & Woo, W.-C. (2015). Convolutional LSTM network: A machine learning approach for precipitation nowcasting. Advances in Neural Information Processing Systems, 28.
  15. T. P. Ogundunmade, A. O. Daniel, and A. M. Awwal, “Modelling Infant Mortality Rate using Time Series Models”, Int. J. Data. Science., vol. 4, no. 2, pp. 107-115, Dec. 2023.
  16. Tayo P. Ogundunmade; George Olawale Edeki (2025) Spatial and Temporal Patterns for Disaster Prediction Using the Global Disaster Dataset. International Journal of Innovative Science and Research Technology, 10(9), 2303-2316. https://doi.org/10.38124/ijisrt/25sep1204.
  17. Adedayo Adepoju A., Tayo P. Ogundunmade and Kayode B. Adebayo (2017). Regression Methods in the presence of heteroscdesticity and outliers, Academia Journal of Scientific Research 5(2): 776-783.
  18. Ogundunmade, T.P., Adepoju, A.A., Edet, I.C. (2025). Prediction of Diabetes Occurrence Using Machine Learning Models with Cross-Validation Technique. In: Awe, O.O., A. Vance, E. (eds) Practical Statistical Learning and Data Science Methods. STEAM-H: Science, Technology, Engineering, Agriculture, Mathematics & Health. Springer, Cham. https://doi.org/10.1007/978-3-031-72215-8_25.
  19. A. A. Adepoju, T. P. Ogundunmade, and G. O. Adenuga, “The Performance of Drought Indices on Maize Production in Northern Nigeria Using Artificial Neural Network Model”, Int. J. Data. Science., vol. 5, no. 1, pp. 19-32, Jun. 2024.
  20. Ogundunmade TP. Effect of capital market on economic growth: An analysis using the autoregressive distributed lag (ARDL) approach. Financial Statistical Journal. 2024;7(2): 7495.https://doi.org/10.24294/fsj7495.
  21. Ogundunmade TP, Adepoju AA. Modelling E-commerce Data Using Pareto Principle. Mod Econ Manag, 2024; 3: 11.DOI: 10.53964/mem.2024011.