Tidal level forecasting: a comparative study of random forest and long short-term memory networks
Increasing coastal risks necessitate reliable tidal forecasts for coastal planning and disaster risk reduction. This study evaluates random forest (RF) and long short-term memory (LSTM) models for next-day, daily-averaged tidal-level forecasting, utilizing five years (2020–2024) of multivariate environmental data (humidity, rainfall, solar radiation, wind speed, and tidal series) from South Kalimantan, Indonesia. Missing data were linearly interpolated, and tidal extremes prone to leakage were excluded. RF incorporated 35 flattened seven-day lag features, while LSTM employed normalized seven-day sliding-window sequences. On the withheld 2024 test set, LSTM demonstrated lower root mean square error (RMSE) and higher coefficient of determination (R²)/Nash–Sutcliffe efficiency (NSE) than RF (RMSE 0.200 vs 0.208; R²/NSE 0.181 vs 0.118), whereas RF achieved a marginally lower mean absolute error (MAE) (0.124 vs 0.126). A paired Wilcoxon test indicated a modest but statistically significant LSTM advantage (p = 0.049), not supported by a paired t-test (p = 0.663). Both models exhibited limited explanatory power and missed the most volatile periods. RF feature importance analysis revealed that short-term persistence in the tidal series, rather than individual covariates, primarily influenced performance. Supported by bootstrap confidence and prediction intervals, these results offer a regional case study for environmentally informed tidal forecasting in data-constrained Indonesian coastal environments.
Authors
- Farid Dwi Murdianto (ORCID: https://orcid.org/0000-0003-3313-0314)
- Dhiyaussalam (ORCID: https://orcid.org/0009-0002-8489-7347)
- Fajar Jamil (ORCID: https://orcid.org/0009-0001-5611-7086)
Institutions
- Politeknik Negeri Banjarmasin (ID)
- Politeknik Elektronika Negeri Surabaya (ID)
Publication Details
- Journal
- IAES International Journal of Artificial Intelligence
- Published
- 2026-12-01
- DOI
- https://doi.org/10.11591/ijai.v15.i6.pp5745-5754
- Primary Topic
- Hydrological Forecasting Using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Direcció General de Recerca, Generalitat de Catalunya