Code and figure source data for "Do Explanations of Brain-Inspired EEG Decoders Agree with Band-Power Discriminability? A Leakage-Controlled Evaluation of Explainable AI on a Motor-Imagery Dataset"

This record contains the complete analysis code and the numerical source data for all results figures of the manuscript "Do Explanations of Brain-Inspired EEG Decoders Agree with Band-Power Discriminability? A Leakage-Controlled Evaluation of Explainable AI on a Motor-Imagery Dataset" (Okmi, Shafei and Alhazmi; Jazan University). The manuscript was submitted to Biomimetics (MDPI), manuscript ID biomimetics-4702058. The code reproduces every number in the manuscript and its Supplementary Materials from the public BCI Competition IV dataset 2a (left- versus right-hand motor imagery, nine participants). It covers: training EEGNet, ShallowConvNet and CSP-LDA under session-to-session, within-session, artefact-free, tuned and cross-participant settings; five post-hoc attribution methods (saliency, gradient × input, Integrated Gradients, GradientSHAP, channel occlusion) and EEGNet's built-in activation patterns; the band-power discriminability reference and its reproducibility, a signal-power baseline and a class-specific ERD check; channel-deletion faithfulness, cascading parameter randomisation and seed-stability analysis. Contents: prep.py, lib.py, train all.py, hpo.py, hpo select.py, cross.py, xai.py, stats.py, export figdata.py: the analysis pipeline. Run order and requirements are in README.md. figure source data/: CSV files holding the numbers behind each results figure. plot figures.ipynb: the plotting notebook used to generate the figures from these CSV files. The raw data are not redistributed here. The EEG signals are available from https://github.com/bregydoc/bcidatasetIV2a and the true labels from https://www.bbci.de/competition/iv/.

Link
https://doi.org/10.5281/zenodo.24600573
Found by
DataCite
Authors
M Okmi, Hassan Shafei, Ali Alhazmi
Organizations
Jazan University
Categories
evaluation, dataset
Published
2026-11-27
Last seen by the radar
2026-11-29
Citations
0
Downloads
0
Views
0
Radar score
37.51 / 100 (how it is scored)
Why it scored so
Matched: dataset, evaluat; Primary record: DataCite
Related links
https://zenodo.org/doi/10.5281/zenodo.24600573
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by DataCite