This study compares the predictive performance of LSTM and GRU models for daily weather prediction using four meteorological parameters: average temperature, average humidity, rainfall, and average wind speed. We collected historical weather data from the BMKG online data portal for the period 2015–2025 and organized the observations into time-series datasets. We applied data preprocessing and chronological partitioning, with 80% of the data allocated for training, 10% for testing, and 10% for validation. Both models were trained and evaluated using the Root Mean Square Error (RMSE) metric. The results showed that LSTM achieved better performance in average temperature prediction, with an RMSE of 0.8196, compared with 0.8486 for GRU. In contrast, GRU produced lower RMSE values for average humidity, rainfall, and average wind speed, with respective values of 3.3780, 1.0167, and 0.7190. These findings demonstrate that model performance varies across meteorological parameters and that neither architecture consistently outperforms the other. GRU performed better in three of the four prediction tasks, while LSTM provided more accurate temperature predictions. This study highlights the potential of both architectures as supplementary tools for daily weather analysis, including applications that may support meteorological monitoring and decision-making at airports such as Lombok International Airport
Copyrights © 2026