Work

Comparative Analysis of LSTM and Random Forest Algorithms for Streamflow Prediction: A Case Study of Diverse River Basins in the United States

Year: 2026
Type: article
Abstract: Accurate streamflow prediction is an important part of disaster management, as forecasting flow rates is an indispensable element of early warning systems, yet it remains challenging due to the complexity and nonlinearity of climatic inputs. This study evaluated the performances of Long Short-Term Memory (LSTM) and random forest (RF) machine learning algorithms for daily streamflow prediction across sixteen hydroclimatically diverse basins in the contiguous United States using the CAMELS dataset. The models were trained on five climatic features augmented with antecedent streamflow lag features at 7-, 14-, and 30-day intervals. The random forest algorithm demonstrated a better accuracy, achieving an average Nash–Sutcliffe efficiency (NSE) of 0.755 compared to 0.632 for the LSTM model. Both models performed well in the snowmelt-dominated basins and were least effective in flashy humid regimes. Additionally, both models exhibited high precision for flood detection, with accuracy rates exceeding 88% for distinguishing flood events and F1 scores of 0.734 and 0.797 for LSTM and RF, respectively. These results recommend RF for operational streamflow forecasting across hydroclimatically diverse settings and LSTM for perennial snowmelt- and groundwater-influenced catchments where long-range temporal dependencies govern runoff generation.
Source: Water
Language: English
Open Access status: gold
Estimated APC paid: $3,137
OpenAlex ID: W7170091898
FWCI: 2.256
Cites: 54
Cited by: 1
Related to: