Rainfall Prediction Using Long Short-Term Memory Method (Case Study: Jambi City)

Rainfall prediction plays a crucial role in various fields, including meteorology, agriculture, and disaster mitigation. However, the accuracy of such predictions is often affected by missing values in historical rainfall data. To address this issue, this study employs three interpolation methods—linear, quadratic, and quadratic spline—to fill in the missing values. These values are then used for rainfall prediction in Jambi City using the LSTM model. The rainfall data used in this study were obtained from the BMKG Online Data portal, covering the period from 2016 to 2024. The preprocessing stages included data cleaning, applying interpolation methods to address missing values, normalizing the data, and splitting the dataset into training and testing sets. The LSTM model was developed with various hyperparameter configurations to achieve optimal performance. The model’s performance was evaluated using the Root Mean Square Error (RMSE) metric to assess the accuracy of the predictions. The experimental results show that linear interpolation yields the best performance, with RMSE Train and Test values of 13.0661 and 13.1388, respectively. The model, configured with 50 neurons, 75 epochs, a batch size of 32, and using the RMSprop optimizer, demonstrated improved prediction accuracy compared to other interpolation methods. This research confirms the importance of proper data preprocessing in improving the accuracy of time series prediction models. With optimal handling of missing values, LSTM-based prediction models can produce more accurate rainfall forecasts, benefiting various sectors that depend on meteorological data. Finally, to facilitate forecasting for non-programmer users, a web-based Graphical User Interface (GUI) was developed using the Streamlit library.

Authors

Institutions

Publication Details

Journal
Jurnal Pepadun
Published
2025-04-15
DOI
https://doi.org/10.23960/pepadun.v6i1.256
Citations
1
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Rainfall Prediction Using Long Short-Term Memory Method (Case Study: Jambi City)

Ulfa Khaira, Mutia Fadhila Putri, Ayu Indryani
1 citations
Jurnal Pepadun
Data Mining and Machine Learning Applications
3.25
article

Rainfall Prediction Using Long Short-Term Memory Method (Case Study: Jambi City)

Ulfa Khaira, Mutia Fadhila Putri, Ayu Indryani
article en
1 citations

Abstract

Rainfall prediction plays a crucial role in various fields, including meteorology, agriculture, and disaster mitigation. However, the accuracy of such predictions is often affected by missing values in historical rainfall data. To address this issue, this study employs three interpolation methods—linear, quadratic, and quadratic spline—to fill in the missing values. These values are then used for rainfall prediction in Jambi City using the LSTM model. The rainfall data used in this study were obtained from the BMKG Online Data portal, covering the period from 2016 to 2024. The preprocessing stages included data cleaning, applying interpolation methods to address missing values, normalizing the data, and splitting the dataset into training and testing sets. The LSTM model was developed with various hyperparameter configurations to achieve optimal performance. The model’s performance was evaluated using the Root Mean Square Error (RMSE) metric to assess the accuracy of the predictions. The experimental results show that linear interpolation yields the best performance, with RMSE Train and Test values of 13.0661 and 13.1388, respectively. The model, configured with 50 neurons, 75 epochs, a batch size of 32, and using the RMSprop optimizer, demonstrated improved prediction accuracy compared to other interpolation methods. This research confirms the importance of proper data preprocessing in improving the accuracy of time series prediction models. With optimal handling of missing values, LSTM-based prediction models can produce more accurate rainfall forecasts, benefiting various sectors that depend on meteorological data. Finally, to facilitate forecasting for non-programmer users, a web-based Graphical User Interface (GUI) was developed using the Streamlit library.

Jurnal PepadunVol. 6(1)
Universitas Jambi (ID)
Openalex Percentile: Top 9%
Data Mining and Machine Learning Applications
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.