E-Jurnal Matematika
Vol. 15 No. 1 (2026)

PREDIKSI TINGKAT CURAH HUJAN KOTA MATARAM MENGGUNAKAN LONG SHORT-TERM MEMORY

DIMAS ANGGRAWAN HADINATA (Universitas Mataram)
IRENE RAINBOW KEWA SOMI (Universitas Mataram)
LULUK KARTIKA (Universitas Mataram)
TRI MARYONO RUSADI (Universitas Mataram)
SISKA APRILIA HARDIYANTI (Politeknik Negeri Banyuwangi)



Article Info

Publish Date
28 Apr 2026

Abstract

Rainfall is an important weather parameter that significantly influences the agricultural sector and regional planning. The City of Mataram, as the center of social and economic activities in West Nusa Tenggara Province, requires an accurate rainfall prediction method. This study aims to predict daily rainfall in Mataram City using a multivariate long short-term memory (LSTM) approach. The data used consist of daily observations from BMKG, with input variables including average temperature, average humidity, average wind speed, and average air pressure. The dataset is structured as a time series using a sliding window approach with a 7-day lookback period and is divided into 80% training data and 20% testing data. The LSTM model is constructed with two LSTM layers containing 64 and 32 units, respectively, complemented by a 0,2 drop out layer and a Dense layer as the output for prediction. Evaluation using MAE and RMSE indicates that a configuration of 100 epochs and a batch size of 16 provides the best performance, achieving MAE of 4,020 mm and RMSE of 7,915 mm on the testing data, demonstrating the model’s capability to predict daily rainfall in a stable manner.

Copyrights © 2026






Journal Info

Abbrev

mtk

Publisher

Subject

Mathematics

Description

The scope of the E-Jurnal Matematika includes analysis, algebra, topology, graphics, numerical simulation approaches or what is known as numerical analysis, optimal control, queuing problems, optimization, finance, biomathematics, industrial mathematics, financial mathematics, and ...