WEATHER PREDICTION USING A COMPARISON OF LSTM AND GRU METHODS
DOI:
https://doi.org/10.51876/simtek.v11i2.1837Keywords:
Weather, LSTM, GRU, ClimatologyAbstract
Accurate weather condition prediction is essential to support various community activities, particularly in tropical regions where weather patterns are relatively complex. This study was conducted to evaluate and compare the capabilities of Long Short-Term Memory and Gated Recurrent Unit in classifying weather conditions into three categories: sunny, cloudy, and rainy. The research data consisted of monthly climatological data from January 2021 to December 2025 obtained from the South Sumatra Climatology Station. The data were processed using linear interpolation to generate daily data comprising 1,796 observations. The research process included data cleaning, normalization, class encoding, sequence formation using a sliding window, training and testing data splitting, and model evaluation based on accuracy, precision, recall, and F1-score. The results showed that the Gated Recurrent Unit achieved an accuracy of 88%, while the Long Short-Term Memory achieved 77%. Therefore, the Gated Recurrent Unit demonstrated superior performance in weather condition classification.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Adjie Setiawan, Gasim Astuti, Lastri Widya Astuti

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Abstract View: 0




