Published October 11, 2026 | Version 1.0

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

  • 1. ROR icon Universitas Samawa
  • 2. ROR icon University of Mataram

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

Files (2.9 MB)

Name Size
md5:2435ef3aec005c2a4ca34f50b3556842
2.9 MB Preview Download

Additional details

Related works

References
Journal article: 10.70561/geocelebes.v10i2.53080 (DOI)