Leveraging transformer models for enhanced temperature forecasting: a comparative analysis in the Beni Mellal region
Open Access
- 1 December 2024
- journal article
- Published by Institute of Advanced Engineering and Science in Indonesian Journal of Electrical Engineering and Computer Science
- Vol. 36 (3) , 1694-1700
Abstract
The remarkable impact of transformers in artificial intelligence, exemplified by applications like GPT-3 in language processing, has sparked interest in their potential for time series analysis. This study aims to explore whether transformers, specifically temporal fusion transformers (TFT), can outperform conventional methods in this domain. The research question is whether TFT exhibits superior performance compared to conventional recurrent neural network (RNN) methods, specifically gated recurrent unit (GRU), and traditional machine learning approaches, notably autoregressive integrated moving average (ARIMA), in the context of time series analysis and temperature prediction. A comparative analysis is conducted among three models: ARIMA, GRU, and TFT. The study utilizes time series data spanning from 1984 to the end of 2022. The models’ performances are evaluated using multiple metrics: mean absolute error (MAE), root mean square error (RMSE), mean absolute percentage error (MAPE), and the coefficient of determination (R2). The TFT model achieves the lowest MAE, indicating high accuracy in its predictions. It outperforms both the RNN and traditional machine learning in temperature prediction tasks. Integrating the TFT model with the FAO penman-monteith method could improve irrigation scheduling due to more accurate temperature predictions, potentially enhancing water efficiency and crop yields.Keywords
This publication has 22 references indexed in Scilit:
- A novel method for aero-engine time-series forecasting based on multi-resolution transformerExpert Systems with Applications, 2024
- LandBench 1.0: A benchmark dataset and evaluation metrics for data-driven land surface variables predictionExpert Systems with Applications, 2023
- Two-stage decomposition and temporal fusion transformers for interpretable wind speed forecastingEnergy, 2023
- Screen-shot and Demoiréd image identification based on DenseNet and DeepViTExpert Systems with Applications, 2023
- Efficient reinforcement learning-based method for plagiarism detection boosted by a population-based algorithm for pretraining weightsExpert Systems with Applications, 2023
- BERT and hierarchical cross attention-based question answering over bridge inspection knowledge graphExpert Systems with Applications, 2023
- Defining R‐squared measures for mixed‐effects location scale modelsStatistics in Medicine, 2022
- A multi-head attention-based transformer model for traffic flow forecasting with a comparative analysis to recurrent neural networksExpert Systems with Applications, 2022
- Interpretable wind speed prediction with multivariate time series and temporal fusion transformersEnergy, 2022
- Temporal Fusion Transformers for interpretable multi-horizon time series forecastingInternational Journal of Forecasting, 2021