International Journal of Informatics and Computation
Vol. 8 No. 2 (2026): International Journal of Informatics and Computation

Comparing Performance of LSTM And GRU Models for Weather Prediction

Bulkis Kanata (Universitas Mataram)
Made Sutha Yadnya (Universitas Mataram, Indonesia)
Muhammad Fathul Hadi (Universitas Mataram, Indonesia)



Article Info

Publish Date
14 Nov 2026

Abstract

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






Journal Info

Abbrev

ijicom

Publisher

Subject

Computer Science & IT

Description

International Journal of Informatics and Computation (IJICOM) is an international, peer-reviewed, open-access journal, that publishes original theoretical and empirical work on the science of informatics and its application in multiple fields. Our concept of Informatics includes technologies of ...