An Ensemble Forecasting Method based on optimized LSTM and GRU for Temperature and Humidity Forecasting
Received: 20 September 2024 | Revised: 12 October 2024 | Accepted: 14 October 2024 | Online: 29 October 2024
Corresponding author: Maryam Saleem
Abstract
Temperature and humidity predictions play a crucial role in various sectors such as energy management, agriculture, and climate science. Accurate forecasting of these meteorological parameters is essential for optimizing crop yields, managing energy consumption, and effectively mitigating the impact of climate change. In this context, this paper proposes an enhanced ensemble forecasting method for day-ahead temperature and humidity predictions. The proposed method integrates a Long Short-Term Memory (LSTM) network, a Gated Recurrent Unit (GRU), Particle Swarm Optimization (PSO) and Bayesian Model Averaging (BMA). PSO is employed to optimize the parameters of the LSTM and GRU, thereby improving forecasting accuracy. The method is implemented using Python 3.10 with TensorFlow. Additionally, the proposed approach is compared with ensemble-1, LSTM, and GRU models to demonstrate its effectiveness. The simulation results confirm the superior performance of the proposed method over existing competitive approaches.
Keywords:
forecasting, gated recurrent unit, humidity, long short-term memory, temperatureDownloads
References
K. U. Jaseena and B. C. Kovoor, "Deterministic weather forecasting models based on intelligent predictors: A survey," Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 6, Part B, pp. 3393–3412, Jun. 2022.
R. Peeriga et al., "Real-Time Rain Prediction in Agriculture using AI and IoT: A Bi-Directional LSTM Approach," Engineering, Technology & Applied Science Research, vol. 14, no. 4, pp. 15805–15812, Aug. 2024.
A. A. Mahessar et al., "Rainfall Analysis for Hyderabad and Nawabshah, Sindh, Pakistan," Engineering, Technology & Applied Science Research, vol. 10, no. 6, pp. 6597–6602, Dec. 2020.
S. Jafarian-Namin, D. Shishebori, and A. Goli, "Analyzing and predicting the monthly temperature of tehran using ARIMA model, artificial neural network, and its improved variant," Journal of Applied Research on Industrial Engineering, vol. 11, no. 1, pp. 76–92, Feb. 2024.
M. Shad, Y. D. Sharma, and A. Singh, "Forecasting of monthly relative humidity in Delhi, India, using SARIMA and ANN models," Modeling Earth Systems and Environment, vol. 8, no. 4, pp. 4843–4851, Nov. 2022.
K. Venkatachalam, P. Trojovsky, D. Pamucar, N. Bacanin, and V. Simic, "DWFH: An improved data-driven deep weather forecasting hybrid model using Transductive Long Short Term Memory (T-LSTM)," Expert Systems with Applications, vol. 213, Mar. 2023, Art. no. 119270.
S. Mehrkanoon, "Deep shared representation learning for weather elements forecasting," Knowledge-Based Systems, vol. 179, pp. 120–128, Sep. 2019.
T. P. Fowdur and R. M. Nassir-Ud-Diin Ibn Nazir, "A real-time collaborative machine learning based weather forecasting system with multiple predictor locations," Array, vol. 14, Jul. 2022, Art. no. 100153.
H. Jiang, Y. Chen, H. Jiang, Y. Ni, and H. Su, "A granular sigmoid extreme learning machine and its application in a weather forecast," Applied Soft Computing, vol. 147, Nov. 2023, Art. no. 110799.
A. Maharatha, R. Das, J. Mishra, S. R. Nayak, and S. Aluvala, "Employing Sequence-to-Sequence Stacked LSTM Autoencoder Architecture to Forecast Indian Weather," Procedia Computer Science, vol. 235, pp. 2258–2268, Jan. 2024.
C. Pang et al., "Prediction of World Temperature Based on PSO Optimized LSTM Neural Network," in 3rd International Conference on Information Technology, Big Data and Artificial Intelligence, Chongqing, China, Dec. 2023, vol. 3, pp. 125–130.
B. Ustaoglu, H. K. Cigizoglu, and M. Karaca, "Forecast of daily mean, maximum and minimum temperature time series by three artificial neural network methods," Meteorological Applications, vol. 15, no. 4, pp. 431–445, 2008.
Z. Zhang and Y. Dong, "Temperature Forecasting via Convolutional Recurrent Neural Networks Based on Time-Series Data," Complexity, vol. 2020, no. 1, 2020, Art. no. 3536572.
K. Cho et al., "Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation," in Conference on Empirical Methods in Natural Language Processing, Doha, Qatar, Oct. 2014, pp. 1724–1734.
B. Shao, M. Li, Y. Zhao, and G. Bian, "Nickel Price Forecast Based on the LSTM Neural Network Optimized by the Improved PSO Algorithm," Mathematical Problems in Engineering, vol. 2019, no. 1, 2019, Art. no. 1934796.
U. B. Tayab, F. Yang, A. S. M. Metwally, and J. Lu, "Solar photovoltaic power forecasting for microgrid energy management system using an ensemble forecasting strategy," Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, vol. 44, no. 4, pp. 10045–10070, Dec. 2022.
Downloads
How to Cite
License
Copyright (c) 2024 Maryam Saleem, Muhammad Majid Saleem, Fareena Waseem, Muhammad Adnan Bashir
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are 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 an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.