Comparative Study of Lstm, Xgboost and Hybrid Lstm-xgboost Models for Rainfall Forecasting in Semi-arid Regions

Rainfall forecasting remains challenging in semi-arid regions due to high variability and intermittent rainfall patterns. Statistical forecasting methods such as Autoregressive Integrated Moving Average(ARIMA) and Seasonal Autoregressive Integrated Moving Average (SARIMA) often struggle to capture the non-linear dynamics typical of such rainfall. Machine learning (ML) techniques such as Extreme Gradient Boosting (XGBoost) and Long Short-Term Memory (LSTM) networks offer improved forecasting performance but have individual limitations. This study compares LSTM, XGBoost and a hybrid LSTM-XGBoost model for monthly rainfall forecasting, using SARIMA as a baseline. The study utilizes 44 years of CHIRPS (Climate Hazards Group InfraRed Precipitation with Station) data from Tana River County, Kenya, accessed through Google Earth Engine. Data preprocessing included log transformation, stationarity testing, normalization, and feature engineering. The data was chronologically split to form the train, validation and test sets. The performance of the models was evaluated using Root Mean Square Error, Mean Absolute Error, Coefficient of Determination and Nash Sutcliffe Efficiency. Shapley Additive Explanations were used for interpretability. The XGBoost, LSTM and Hybrid LSTM-XGBoost models outperformed the baseline, achieving a Coefficient of Determination of approximately 0.61 compared with 0.52. The hybrid model performed best overall, with an RMSE of 38.68 mm, MAE of 17.23 mm, and R2 of 0.609. Hybrid forecasting approaches combining deep learning and machine learning should be further explored for rainfall prediction in semi-arid regions due to their potential to capture complex temporal patterns.

Authors

Institutions

Publication Details

Journal
International Journal of Data Science and Analysis
Published
2026-09-08
DOI
https://doi.org/10.11648/j.ijdsa.20261205.12
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Study of Lstm, Xgboost and Hybrid Lstm-xgboost Models for Rainfall Forecasting in Semi-arid Regions

Mutua Kilai, Peter Gachoki, Rony Muriithi
International Journal of Data Science and Analysis
Hydrological Forecasting Using AI
article

Comparative Study of Lstm, Xgboost and Hybrid Lstm-xgboost Models for Rainfall Forecasting in Semi-arid Regions

Mutua Kilai, Peter Gachoki, Rony Muriithi
article en

Abstract

Rainfall forecasting remains challenging in semi-arid regions due to high variability and intermittent rainfall patterns. Statistical forecasting methods such as Autoregressive Integrated Moving Average(ARIMA) and Seasonal Autoregressive Integrated Moving Average (SARIMA) often struggle to capture the non-linear dynamics typical of such rainfall. Machine learning (ML) techniques such as Extreme Gradient Boosting (XGBoost) and Long Short-Term Memory (LSTM) networks offer improved forecasting performance but have individual limitations. This study compares LSTM, XGBoost and a hybrid LSTM-XGBoost model for monthly rainfall forecasting, using SARIMA as a baseline. The study utilizes 44 years of CHIRPS (Climate Hazards Group InfraRed Precipitation with Station) data from Tana River County, Kenya, accessed through Google Earth Engine. Data preprocessing included log transformation, stationarity testing, normalization, and feature engineering. The data was chronologically split to form the train, validation and test sets. The performance of the models was evaluated using Root Mean Square Error, Mean Absolute Error, Coefficient of Determination and Nash Sutcliffe Efficiency. Shapley Additive Explanations were used for interpretability. The XGBoost, LSTM and Hybrid LSTM-XGBoost models outperformed the baseline, achieving a Coefficient of Determination of approximately 0.61 compared with 0.52. The hybrid model performed best overall, with an RMSE of 38.68 mm, MAE of 17.23 mm, and R2 of 0.609. Hybrid forecasting approaches combining deep learning and machine learning should be further explored for rainfall prediction in semi-arid regions due to their potential to capture complex temporal patterns.

International Journal of Data Science and AnalysisVol. 12(5)
Kirinyaga University (KE)
Climate action
Openalex Percentile: Top 18%
Hydrological Forecasting Using AI
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.