Code and data for: Does attention add skill? A leakage-controlled evaluation of attention-based GRU forecasts of monthly rainfall from ENSO indices in Sumbawa, eastern Indonesia
Description
This archive contains the input data, analysis code, numerical results and figures for the article "Does attention add skill? A leakage-controlled evaluation of attention-based GRU forecasts of monthly rainfall from ENSO indices in Sumbawa, eastern Indonesia". It includes monthly rainfall for a NASA POWER grid cell over Sumbawa Besar (8.50° S, 117.42° E; PRECTOTCORR) together with the NOAA CPC standardized Southern Oscillation Index, the ERSSTv5 Niño-3.4 SST and the NOAA PSL Dipole Mode Index for January 2016 to December 2025. The Python scripts reproduce the leakage-controlled rolling-origin forecast experiment (climatology, seasonal naive, damped persistence, ridge regression, random forest, GRU and GRU with additive attention; lead times of 1–3 months; ten seeds), the verification (MSESS, NSE, KGE, block-bootstrap intervals, Diebold–Mariano tests, POD/FAR/CSI), the attention and permutation-importance diagnostics, and the raw and pre-whitened lagged correlations. A Google Colab notebook that retrieves the series from the official providers and checks them against the input file is included. See README.md for instructions.
Files
Zenodo_sumbawa_gru_attention_rainfall.zip
Additional details
Related works
- References
- Journal article: 10.70561/geocelebes.v10i2.53080 (DOI)