Comparative Study of LSTM, XGBoost and Hybrid LSTM-XGBoost Models for Rainfall Forecasting in Semi-arid Regions
Authors:
Open Access
- 8 September 2026
- journal article
- Published by Science Publishing Group in International Journal of Data Science and Analysis
- Vol. 12 (5) , 114-128
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.Keywords
This publication has 24 references indexed in Scilit:
- Wavelet-SARIMA-Transformer: a hybrid model for rainfall forecastingTheoretical and Applied Climatology, 2026
- Explainable deep learning for rainfall prediction: A CNN-XGBoost hybrid approach in the northern region of BangladeshNeural Computing and Applications, 2025
- A critical review of RNN and LSTM variants in hydrological time series predictionsMethodsX, 2024
- Applications of XGBoost in water resources engineering: A systematic literature review (Dec 2018–May 2023)Environmental Modelling & Software, 2024
- A review on rainfall forecasting using ensemble learning techniquese-Prime - Advances in Electrical Engineering, Electronics and Energy, 2023
- Rainfall prediction: A comparative analysis of modern machine learning algorithms for time-series forecastingMachine Learning with Applications, 2022
- Rainfall and runoff time-series trend analysis using LSTM recurrent neural network and wavelet neural network with satellite-based meteorological data: case study of Nzoia hydrologic basinComplex & Intelligent Systems, 2021
- Time series analysis of climate variables using seasonal ARIMA approachJournal of Earth System Science, 2020
- Validation of the CHIRPS satellite rainfall estimates over eastern AfricaQuarterly Journal of the Royal Meteorological Society, 2018
- Comparative study among different time series models applied to monthly rainfall forecasting in semi-arid climate conditionNatural Hazards, 2016