Rainfall Prediction using Long Short-Term Memory and Gated Recurrent Unit with Various Meteorological Parameters

Background: Rainfall prediction is a critical task in meteorology and environmental science, with far-reaching implications for disaster preparedness, agriculture, and water resource management. Rainfall prediction can benefit greatly from the application of deep learning techniques like Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) networks, which have demonstrated great promise in time series forecasting. Objective: To use LSTM and GRU to forecast rainfall in the Kathmandu metropolitan area using information gathered from the Department of Hydrology and Meteorology, Babarmahal, Kathmandu, Nepal. Materials and Methods: Historical meteorological data was collected from Department of Hydrology and Meteorology, Babarmahal, Kathmandu, Nepal and preprocessed to create a suitable dataset. With this preprocessed dataset containing variables such as temperature, humidity, atmospheric pressure, wind speed, and direction, two deep learning methods, LSTM and GRU, were trained. To assess the performance, various evaluation metrics, including Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and R2 were used. Results: The daily rainfall has been predicted using LSTM and GRU using 0.0001 learning rate, 50 epochs and 8 batch size. RMSE, MAE and R2 values of LSTM are 2.51, 1.79 and 0.81 respectively. Similarly, RMSE, MAE and R2 values of GRU are 2.31, 1.51 and 0.95 respectively. Conclusion: Test results show that the GRU model's predictions are generally near to the actual recorded rainfall amounts, as evidenced by the fact that the model's test RMSE and MAE are fewer than those of the LSTM. A higher R2 value of GRU suggests a better fit in the rainfall data, as more of the variance in the outcome is explained by the predictors.

Authors

Institutions

Publication Details

Journal
Nepalese Journal of Statistics
Published
2024-12-31
DOI
https://doi.org/10.3126/njs.v8i1.73165
Citations
3
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.62

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Rainfall Prediction using Long Short-Term Memory and Gated Recurrent Unit with Various Meteorological Parameters

Nabin Paudel, Mahesh Pujara
3 citations
Nepalese Journal of Statistics
Hydrological Forecasting Using AI
0.62
article

Rainfall Prediction using Long Short-Term Memory and Gated Recurrent Unit with Various Meteorological Parameters

Nabin Paudel, Mahesh Pujara
article en
3 citations

Abstract

Background: Rainfall prediction is a critical task in meteorology and environmental science, with far-reaching implications for disaster preparedness, agriculture, and water resource management. Rainfall prediction can benefit greatly from the application of deep learning techniques like Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) networks, which have demonstrated great promise in time series forecasting. Objective: To use LSTM and GRU to forecast rainfall in the Kathmandu metropolitan area using information gathered from the Department of Hydrology and Meteorology, Babarmahal, Kathmandu, Nepal. Materials and Methods: Historical meteorological data was collected from Department of Hydrology and Meteorology, Babarmahal, Kathmandu, Nepal and preprocessed to create a suitable dataset. With this preprocessed dataset containing variables such as temperature, humidity, atmospheric pressure, wind speed, and direction, two deep learning methods, LSTM and GRU, were trained. To assess the performance, various evaluation metrics, including Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and R2 were used. Results: The daily rainfall has been predicted using LSTM and GRU using 0.0001 learning rate, 50 epochs and 8 batch size. RMSE, MAE and R2 values of LSTM are 2.51, 1.79 and 0.81 respectively. Similarly, RMSE, MAE and R2 values of GRU are 2.31, 1.51 and 0.95 respectively. Conclusion: Test results show that the GRU model's predictions are generally near to the actual recorded rainfall amounts, as evidenced by the fact that the model's test RMSE and MAE are fewer than those of the LSTM. A higher R2 value of GRU suggests a better fit in the rainfall data, as more of the variance in the outcome is explained by the predictors.

Nepalese Journal of StatisticsVol. 8
Tribhuvan University (NP)
Tribhuvan University
Openalex Percentile: Top 34%
Hydrological Forecasting Using AI
0.62
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.