WorksComputer Science
On the Complete Feature Set for ADHD Classification in Children and Adolescents Based on EEG Signals
Abstract
Attention-deficit/hyperactivity disorder is a neurodevelopmental condition that can affect attention, activity and impulse control. Electroencephalography (EEG) records brain activity as children and adolescents perform cognitive tasks. However, comparing features derived from these recordings requires consistent signal preparation, shared analysis windows and documented quality decisions. We curated 669 existing BALLADEER recordings from 156 participants across five task conditions so that researchers can compare seven EEG feature families on the same time intervals for each participant and task. The dataset links continuous signals to precomputed measurements from 115 feature definitions or templates and records the quality decisions made for each recording. Analyses must still account for repeated measurements within participants, residual artefacts and differences between acquisition systems. Technical validation covered signal integrity, numerical checks on feature estimators and completeness of the released files. In every task, the median proportion of recording time retained after preprocessing was 100%. To illustrate reuse, we report saved participant-held-out evaluations comparing XGBoost using all seven families on eight-second windows with a predictor based only on recruitment-group prevalence in the training fold. Recruitment-group discrimination was stronger in Robots than in the three Slackline conditions. These descriptive results from overlapping cohorts do not establish diagnostic validity. The dataset, curation software and aggregate results for the predictive example are publicly available.
Introduction
Attention Deficit Hyperactivity Disorder (ADHD) is a neurodevelopmental condition characterised by persistent inattention and/or hyperactivity-impulsivity that interferes with everyday functioning. Its heterogeneous presentation motivates research into complementary measurements of the processes underlying these behaviours. Clinical diagnosis requires assessment of developmental history, symptoms and functioning across settings. Electroencephalography (EEG) provides non-invasive measurements of electrical brain activity that can support this research, including investigation of candidate neurophysiological markers during cognitive tasks. These measurements complement the study of ADHD but do not, by themselves, constitute an established diagnostic test [1, 2].
A central approach to analysing EEG is to derive features: numerical descriptions of properties such as signal amplitude, oscillatory power, irregularity and relationships between electrodes. These representations make particular signal properties explicit and provide inputs for statistical analysis, feature selection and machine learning. Recent EEG–ADHD literature includes spectral, entropy and connectivity measures, reflecting interest in complementary descriptions of brain activity [3]. Engineered features also complement approaches that learn representations directly from signals. Retaining continuous EEG alongside precomputed features therefore enables researchers to investigate both approaches and examine how representation choices affect downstream findings.
Public datasets provide an essential foundation for such work. Existing resources include paediatric attention-task recordings and broader transdiagnostic collections such as the Healthy Brain Network [4, 5]. The BALLADEER dataset extends this landscape with EEG recorded during cognitive activities alongside behavioural, cognitive and other physiological measurements. Its EEG recordings cover CogniFit, Attention Robots and selected levels of Attention Slackline, providing opportunities to investigate representations across different recording contexts [6].
However, access to recordings does not itself provide the aligned signals, feature definitions and quality information needed to compare representations on matched data. In BALLADEER, reuse requires accounting for acquisition-system differences, recording discontinuities and channel problems before defining analysis windows and computing features. When studies intended to compare representations use different preparation procedures or recording intervals, their findings can also reflect these choices. Automated EEG pipelines already demonstrate the value of documented preprocessing and feature extraction [7]. For these task recordings, the remaining need is a reusable collection that links the resulting measurements to their source intervals, curation decisions and calculation states.
To address these reuse barriers, we prepared a secondary curated resource containing 669 eligible recordings from 156 children and adolescents across five task conditions: CogniFit, Robots and selected levels of Slackline. The resource retains continuous EEG alongside complementary feature tables and source-linked quality records. It uses established processing methods without recruiting a new cohort or treating the different acquisition systems as equivalent. Its contribution is the additional curation information, aligned measurements and documented computational definitions made available for reuse.
The resource makes four contributions:
Auditable signal derivatives. Label-blind eligibility decisions, expert quality assessments and processing records accompany curated continuous EEG, allowing researchers to inspect how recordings were selected and transformed.
Aligned multi-family representations. Seven feature families encompass 115 definitions or templates computed on shared analysis intervals. Explicit calculation states distinguish unavailable or undefined measurements, while catalogues document their indexed expansion across channels and other positions.
Documented validation and reproduction resources. Numerical reference checks, structural integrity checks, configurations and preparation software support inspection and reproduction of the released derivatives.
A participant-held-out baseline for reuse. Across four overlapping task cohorts, saved evaluations compare XGBoost using all seven feature families on eight-second windows with a predictor that assigns every held-out participant the proportion of ADHD recruits in the training fold. These retrospective results illustrate recruitment-group discrimination, which was weaker in Slackline than in Robots; they do not establish diagnostic validity.
The resource supports representation comparisons, feature-selection research and alternative signal analyses, provided that reuse accounts for participant dependence, residual artefacts and task-device differences.
Materials and Methods
The curation workflow combines source auditing, conservative preprocessing selected from technical Quality Control (QC) evidence, and aligned feature extraction (Figure 1). Clinical and demographic labels did not determine eligibility, preprocessing or feature values. The release links the processed signals and features to their QC and processing records.
Figure 1. EEG curation workflow, from source inventory to aligned feature extraction.
Source data and cohort
Source dataset, participants and ethics
This resource derives from five EEG tasks in the publicly available BALLADEER dataset [6, 8]. Pseudonymous identifiers support linkage to compatible source records. The original recordings and non-EEG modalities remain in the source dataset.
The source demographic file contains 158 participant records. This resource includes 669 eligible task recordings from 156 of those participants. In the full source cohort, participants were aged 6-18 years, with 96 coded as male and 62 as female. Participants were asked to discontinue ADHD medication for at least 24 hours before collection [6].
The field group distinguishes 62 participants recruited with a formal pre-existing ADHD diagnosis from 96 recruited as comparisons. The separate field diagnosed records the clinical team’s assessment-derived status as yes, no, or undetermined. It is not equivalent to pre-existing diagnosis. All ADHD recruits have status yes, whereas the comparison group contains all three outcomes and should not be treated as clinically confirmed healthy controls. Table 1 cross-classifies these fields, which were excluded from processing decisions.
| Group | Group total | Diagnosed | ||
| yes | no | undetermined | ||
| ADHD recruitment | 62 | 62 | 0 | 0 |
| Control recruitment | 96 | 26 | 50 | 20 |
Table 1. Recruitment and assessment-derived label composition.
The original study received approval from the University of Alicante Ethics Committee (UA-2023-05-17_1) and the ISABIAL Ethics Committee (PI2022-139). Participants or their legal guardians, as applicable, provided written consent for participation, collection, and anonymised public sharing [6]. No new recruitment or acquisition was undertaken.
Experimental tasks and EEG acquisition
The five task conditions comprised CogniFit, Robots (Attention Robots), and Slackline L1, L6 and L11, where L denotes the Attention Slackline level. CogniFit involved adaptive exercises in perception, attention, coordination, and problem solving. Robots required participants to select robots matching target criteria in a grid, with 20 seconds per row. Slackline comprised five-minute levels 1, 6, and 11, in which participants pressed a button in response to on-screen flag patterns to control an avatar’s progress. These levels required matching one target, either of two targets, or a two-target sequence, respectively [6, 9]. EEG spanned task onset to completion, excluding tutorial or instruction intervals. No dedicated resting-state condition was collected. Task identifiers and acquisition characteristics are summarised in Table 2.
| Source task | ID | Brief protocol | Acquisition |
| CogniFit | BAL01 | Adaptive computerized cognitive exercises | EPOC X/Plus, 128 or 256 Hz |
| Robots | BAL02 | Visual search for robots matching target criteria | EPOC X/Plus, 128 or 256 Hz |
| Slackline L1 | BAL03 | Button response to one on-screen flag target | CGX Quick-32r, 500 Hz |
| Slackline L6 | BAL04 | Button response to either of two on-screen flag targets | CGX Quick-32r, 500 Hz |
| Slackline L11 | BAL05 | Button response to an on-screen two-flag sequence | CGX Quick-32r, 500 Hz |
Table 2. Source EEG tasks and acquisition characteristics.
Prior behavioural work described and validated Slackline [9]. A separate study of Robots reported preliminary behavioural convergent validity against D2-R [10]. That study’s behavioural sample and outcomes do not establish EEG or diagnostic validity for the present resource.
CogniFit and Robots used 14-channel Emotiv EPOC X or EPOC Plus at 128 Hz, except seven EPOC Plus recordings in the valid 256-Hz mode. The Slackline tasks used CGX Quick-32r at 500 Hz, contributing 29 scalp EEG channels. Operators checked vendor sensor-contact indicators before each session [6]. Adapters converted amplitudes to volts and assigned standard 10-20 template coordinates, not participant-specific digitisations. Emotiv streams included vendor Sinc and notch conditioning, whereas CGX retained minimal hardware conditioning. No common offline processing or undocumented acquisition reference was assumed at ingestion. Task, device, montage, and duration differences preclude treating the tasks as interchangeable conditions.
Source data audit and recording eligibility
The audit enumerated participant-task combinations, checked agreement between metadata and directories, located EEG CSV files, and required readable samples and valid timestamps. Missing tasks were recorded as unavailable. Relative paths and input checksums preserve source identity.
For samples with first and last valid timestamps , duration was and effective sampling frequency was . Within each task, duration outside was flagged. Sampling frequency failed independently when , using the Emotiv header value or 500 Hz for CGX.
Eligibility outcomes are reported in Section 4.1. Absence or failure in one task did not exclude a participant’s other recordings. Audit tables retain each measurement and decision reason.
Quality characterisation and preprocessing
Measurements at window, channel, and recording scales informed label-blind selection and a gap-aware preprocessing sequence.
Raw EEG quality characterisation
Raw QC combined 4s temporal, 8s spectral, and full-recording measurements before offline processing. This multiscale approach drew on established EEG quality frameworks [11, 12, 13, 14, 15] and reporting recommendations [16]. Measurements were compared within task-acquisition strata for EPOC X, EPOC Plus, and CGX, accounting for device-dependent spectra [17]. They indicate technical integrity or possible contamination, not biological normality [18]. Table 3 lists the retained measurements.
| Analysis scale | QC measurements |
| 4s temporal windows (50% overlap) | Finite-sample, Not a Number, and infinity fractions, Standard Deviation, Median Absolute Deviation, median-centred Root Mean Square, peak-to-peak amplitude, maximum absolute derivative, line length, flat-sample and repeated-value fractions, longest flat run, skewness, Fisher excess kurtosis, median-centred zero-crossing rate, median pairwise Spearman channel correlation, and median Global Field Power. |
| 8s spectral windows (50% overlap) | Absolute and relative delta, theta, alpha, beta, and high-beta power, slow-drift ratio, common and extended high-frequency ratios, 50-Hz line-noise ratio and supported harmonics, spectral entropy, Theil-Sen spectral slope, 95% spectral edge frequency, median pairwise spectral correlation, and median absolute spectral deviation. |
| Full recording | Recorded and usable duration, expected and observed sampling frequency, signed sampling-frequency error, interval jitter, duplicate and backward timestamps, invalid-row count, gap count and duration, continuous-block count, channel inventory, full-recording median channel and nearest-neighbour correlations, and persistent spectral deviation. |
Table 3. Raw EEG QC measurements retained at each analysis scale.
Both window scales used 50% overlap, excluded incomplete windows, and never crossed gaps. Values were summarised within recordings before calibration, so overlapping windows were not treated as independent observations. The scales balance temporal localisation and spectral support rather than represent empirically established optima [19, 20].
Temporal metrics included Standard Deviation (SD), Median Absolute Deviation (MAD), and median-centred Root Mean Square (RMS). Flat and repeated-value fractions used a V change threshold. Median-centred zero crossings used a dead-band. No temporal metric alone established exclusion.
Spectral QC used Welch Power Spectral Density (PSD) estimates with 4s Hamming segments, 50% overlap, constant detrending, mean averaging, and density scaling. Each 8s window supplied three segments and a 0.25-Hz grid. Absolute and relative powers in 1–4, 4–8, 8–13, 13–30, and 30–40 Hz were descriptive and could not independently trigger rejection. Technical ratios covered 0.5–1, 30–40, and, where supported, 40–100 Hz. The line-noise ratio compared 50 1 Hz power with adjacent 2-Hz bands.
Recording-scale checks assessed clocks, channel inventory, continuity, and persistent channel behaviour. A timestamp gap exceeded , with missing duration . EPOC observed sampling frequency was the inverse median positive timestamp interval. For CGX, timestamp span described transport rate, while the sample counter defined discontinuities and the analysis clock. Gap count, duration, and block count were retained separately. Every metric included units, parameters, source segments, and a state of computed, not computable, not applicable, or invalid input.
QC interpretation and preprocessing selection
Metrics had prespecified roles as integrity failures, robust warnings, descriptive evidence, or unavailable evidence. Nonfinite input, invalid rows, duplicate or backward timestamps, and channel-inventory violations used absolute rules. Warning thresholds used one profile per recording-task rather than pooled overlapping windows. The calibration subset comprised 60% of each task-acquisition stratum, capped at 80 participants.
For calibration median , MAD, and quantile , the direction-specific limits were
The MAD scaling constant provides Gaussian consistency without requiring normally distributed metrics [21, 22]. These conservative limits flagged technical extremes. Biology-sensitive metrics, including band power and spectral edge, could not independently trigger rejection or preprocessing. Clinical, demographic, and downstream outcome variables were unavailable during calibration.
We assessed persistence using the proportion of affected windows and their combined non-overlapping duration. A recording warning required at least 5% affected channel-window evidence. Interpolation recommendations required at least three warning metrics spanning three independent mechanisms [12, 13]. Automatic states were pass, pass with warnings, or review. Recommendations alone did not alter samples.
Experts checked the signal quality of 103 selected recording-task pairs without access to clinical labels, examining signal traces, PSD, timing integrity, spatial patterns, and 4s/8s quality measurements. Their assessments helped determine which recordings to exclude and which channels to interpolate, while the calibrated automatic thresholds remained unchanged. The assessments, decisions, and reasons are documented in the released QC records.
Unresolved review states were retained with warnings under the conservative policy. Final exclusion counts are reported in § 4.2.
Preprocessing and derivative generation
The same preprocessing operations were applied to EPOC and CGX recordings, with acquisition-specific QC warning thresholds. Continuous blocks were processed independently using a fourth-order zero-phase Butterworth second-order-section filter at 0.5–40 Hz [23]. Polyphase anti-alias resampling converted 256-Hz and 500-Hz input to 128 Hz. Native 128-Hz recordings retained their sampling rate.
Blocks no longer than 1 s could be omitted only when cumulative omission did not exceed 0.1% of recording duration. Approved channels were interpolated using inverse-distance weighting from the four nearest valid template electrodes, capped at 10% of the montage. Average reference followed interpolation. Every omission and channel action was logged.
Each eligible recording yielded one MNE-FIF signal file with channel order, montage information, boundary annotations, and records linking it to the source and applied processing. Postprocessing QC repeated compatible raw measurements to assess retained duration, channel actions, continuity, and expected temporal, spectral, and connectivity changes. Results are reported in § 4.3.
Feature extraction
All families used the same preprocessing derivatives and deterministic epoch index, with verified sampling frequency, channel order, blocks, and window identities. Extractors could not alter samples or epoch bounds. Each feature had a stable identifier, unit, scope, applicability rule, parameters, implementation reference, and invalid-value policy. Undefined results remained reason-coded nulls. Imputation, scaling, feature selection, dimensionality reduction, and modelling remain downstream operations.
The 115 definitions or templates expand across channels and other indexed positions rather than forming 115 predictor columns. Table 4 summarises definition counts and physical row representations; Figure 3 displays configured duration support.
| Family | Each row represents | Row multiplicity and duration support | Count |
| Temporal and statistical | One channel and epoch | One per channel at all four durations | 17 |
| Conventional spectral | One channel and epoch | One per channel at all four durations | 18 |
| Aperiodic spectral | One channel-epoch summary or one periodic peak | None at 2s and 4s, one per channel at 8s and 16s, with variable peak rows | 18 |
| Complexity and fractal | One channel and epoch | One per channel. Four definitions null at 2s, one at 4s | 11 |
| Functional connectivity | Epoch-connectivity matrix with packed channel pairs | 1 for 2s and 4s, and 26 for 8s and 16s | 26 |
| Graph and network | Epoch-graph representation with global and nodal metrics | 3 for 2s and 4s, and 28 for 8s and 16s | 15 |
| Time-frequency decomposition | One channel, epoch, and wavelet | Three per channel at all four durations, 61 values per row | 10 |
| Total | 115 |
Table 4. Scientific feature definitions and table organisation.

Figure 3. Configured feature-family support by epoch duration.
Analysis units and epoch construction
Shared windows had durations s and overlap . Window length and step had to be positive integer sample counts. At 128 Hz, lengths were 256, 512, 1,024, and 2,048 samples, with steps half as long. Bounds were half-open intervals.
Each window lay within one validated continuous block and could not overlap a positive-duration exclusion annotation. Incomplete tails were counted and discarded without padding, reflection, or joining across gaps. The active epoch recipe left preprocessed samples, channels, and eligibility unchanged. The windowing example in Figure 2 is schematic, not a measured EEG recording.
Figure 2. Shared analysis windows within continuous recording blocks.
Each interval retained participant, recording, task, device, channel-schema, block, and configuration identifiers. The identified the derivative, recording, block, bounds, and configuration. The separate identified the subject, task, and source-anchored time interval independently of feature family or channel layout. These keys support aligned comparisons and future linkage to compatible modalities. Epochs, channels, and recordings from one participant remain dependent.
Feature families and representations
Temporal and statistical features describe amplitude, dispersion, shape and variation, including Interquartile Range (IQR), line-length rate and Hjorth parameters [3, 24]. Conventional spectral features summarise Welch-derived powers, ratios, dominant frequency, entropy and spectral edges; ratios accompany their constituent powers and are not standalone diagnostic markers [3, 25]. Aperiodic spectral features separate background shape and peaks [26, 27]. The recorded FOOOF 1.1.1 backend fits a fixed no-knee 1–30 Hz model at 8s/16s, yielding 16 candidate predictors and two diagnostics including Mean Absolute Error (MAE), with a separate variable-length peak inventory. These hypothesis-driven descriptors have cohort-dependent ADHD associations [25, 28, 29].
Complexity and fractal features describe irregularity, finite-scale dependence, pattern diversity and fractal structure; these measures are not interchangeable [3, 30]. Time-frequency decomposition uses four-level Discrete Wavelet Transforms (DWTs) with three mother wavelets to describe carrier activity and amplitude modulation across temporal scales [31, 32]. Both families are exploratory.
Functional connectivity measures signed broadband Pearson correlation and five spectral estimators in five bands; reference, volume conduction, geometry and estimator choice affect sensor-space interpretation [33]. Graph and network features use the connectivity matrices to describe full weighted topology without data-fitted thresholds [34]: 15 metrics (five nodal, ten global) use 28 representations from three signed-correlation transforms and direct spectral weights. They reflect construction choices as well as neural interactions.
At 2s/4s, windows support subsets of the complexity features, Pearson-only connectivity and three graph representations; spectral connectivity requires at least seven Welch segments at 8s/16s (Figure 3). Configured support does not guarantee valid values: undefined results retain reason-coded nulls. Appendix A specifies exact estimators and fixed conventions.
Metadata, provenance and reproducibility
Stable identifiers link source recordings, preprocessed signals, continuous blocks, windows and feature definitions. Processing settings, calculation states and validation outcomes accompany these links. Automated checks verified source identity, table structure, window alignment and graph-to-connectivity correspondence. The companion software supplies the configurations and computational environment for reproduction; § 3.2 describes the reuse documentation.
Technical validation procedures
Technical validation examined whether the released derivatives were complete, traceable, internally consistent, and suitable for reuse. It covered source-file eligibility, raw-signal QC decisions, paired preprocessing checks, derivative integrity, and the integrated feature inventory. These checks establish the technical properties of the resource. They do not establish clinical validity or the predictive value of any feature.
Recording-level 8s QC summaries were compared using paired raw and preprocessed medians. Sample-count, sampling-frequency, block-correspondence, finite-sample and channel-inventory checks assessed derivative integrity. Saved Robots (BAL02) reference checks used known signals, synthetic spectra, and graph or wavelet invariants. Numerical checks assessed implemented estimators, while a separate inventory audit assessed task-family coverage, file completeness and lineage. Outcomes are reported in § 4.
Predictive utility demonstration
We report saved participant-held-out evaluations distributed with version 1.1.0 of the preparation software, alongside the code for the predictive example [35]. The resource covers five conditions; this example covers four overlapping cohorts: Robots and Slackline L1, L6 and L11. The endpoint was recruitment group, with ADHD recruitment positive, not assessment-derived diagnosis. Each task used all-handcrafted (ALL) features from the seven families, XGBoost and 8s windows; tuning and fitted parameters remained task- and fold-specific.
The original outcome-stratified evaluation used three repetitions of five outer participant folds and four inner folds. All epochs from a participant stayed together. Training-participant summaries supported availability filtering, median imputation and robust scaling. Correlation reduction and family-balanced F ranking retained up to 64 scientific inputs plus eligible missingness indicators. Preparation, feature selection and transformations were fitted within inner-training folds. Candidate transformations were identity or Yeo–Johnson. Epoch training weights accounted for participant epoch counts before class weighting. Mean participant area under the receiver operating characteristic curve (AUROC) across inner-validation folds determined candidate selection. We then refitted the selected preparation and classifier on outer-training data.
An unweighted logistic sigmoid with intercept and inverse regularisation strength was fitted to the selected candidate’s pooled inner-validation participant-mean raw scores. After outer-training refitting, this calibration function transformed held-out epoch scores before averaging probabilities within participant. Thus calibration was fitted to participant-mean scores but applied to epoch scores. Decisions used probability 0.5. The comparator used matching within-task partitions and predicted outer-training recruitment prevalence without EEG inputs.
Saved metrics pool the five outer test folds within each repetition, then average the three repetition metrics. Stored 95% intervals use 1,000 outcome-stratified participant-cluster resamples retaining each person’s three predictions. They condition on fixed predictions, excluding refitting and selection uncertainty. The configurations were chosen for this presentation after historical results existed, not prospectively, and are not each task’s selected maximum. Software verification did not generate these estimates; they are not an independent replication.
Dataset Description
The derivative dataset is publicly available from Zenodo at https://doi.org/10.5281/zenodo.21982978 [36]. Its source inventories, QC evidence, continuous signals, windows, and features are linked through shared pseudonymous identifiers. Original recordings remain in BALLADEER [8].
Coverage and analysis units
The release contains 669 recordings from 156 participants, totalling 126.29 hours across five tasks and 35 task-family outputs. Table 5 reports final task-level coverage. Primary feature tables contain 107,478,560 records, with 6,308,526 additional periodic-peak records. The table includes both types. Participant totals are unique across tasks, whereas feature rows are repeated measurements and structured outputs, not independent statistical observations.
| Task | Recordings | Participants | Channels | EEG hours | Feature records |
| CogniFit | 129 | 129 | 14 | 80.89 | 58,004,337 |
| Robots | 123 | 123 | 14 | 10.02 | 7,099,948 |
| Slackline L1 | 140 | 140 | 29 | 11.88 | 16,365,912 |
| Slackline L6 | 139 | 139 | 29 | 11.80 | 16,226,365 |
| Slackline L11 | 138 | 138 | 29 | 11.71 | 16,090,524 |
| Total | 669 | 156 | 14 or 29 | 126.29 | 113,787,086 |
Table 5. Task-level derivative inventory.
Repository and data organisation
The 54.61-GB dataset contains 48 downloadable files: 41 ZIP archives and seven supporting files. Archives are organised by task and feature family, allowing researchers to download only the components needed for their study. The main file groups and formats are summarised in Table 6.
| File group | Main formats | Contents |
| Metadata and QC: one archive | CSV, Parquet and JSON | Participant and recording inventories, eligibility decisions, quality measurements and validation records |
| Preprocessed EEG: five task-specific archives | MNE-FIF, with JSON, TSV and Parquet records | Continuous EEG signals, processing details and mappings between source and derivative recordings |
| Features: 35 task-by-family archives | Parquet, with JSON and YAML records | Feature values, window and feature reference tables, calculation states and processing settings |
| Seven supporting files | Markdown, CSV, JSON and plain text | Documentation, file inventory, release manifest, checksums, publication audit, version information and licence |
Table 6. Dataset file groups and main formats.
Shared participant, recording and window identifiers link these components. The README.md provides organisation and loading guidance; ZENODO_FILE_INVENTORY.csv lists each download’s role, size and checksum. Data dictionaries and feature catalogues explain fields, units, indexed values and calculation states. Licence and processing records accompany the data.
For example, the eegaware-eeg-derivatives-1.0.0-features-bal02-spectral.zip archive contains the conventional spectral features for Robots. Reference tables included in each feature archive explain the feature definitions, units, analysis windows, and ordering of stored values.
Participant, task and label metadata
Participant metadata contain one row per source participant, with pseudonym, age, gender code, recruitment group, assessment status, and recording availability. The fields group and diagnosed retain the meanings in § 2.1.1. The category undetermined is a valid assessment outcome, not missing data.
Task-level records cover all expected participant-task pairs, including missing recordings, and retain duration, sampling frequency, eligibility, and decision reasons. Final selection records add QC outcomes, preprocessing plans, and approved interpolation channels. The source field user_id and later subject_id contain the same pseudonym. The recording_id links participant-task records to signals, QC, and features. No names, contact details, or dates of birth are included.
Preprocessed EEG derivatives
Signals retain 14 EPOC or 29 CGX channels in volts at 128 Hz, with template coordinates. Table 7 specifies channel order and excluded source fields. Interpolation preserves this schema and is recorded separately.
| Acquisition system | Tasks | Included scalp EEG channels, in order | Excluded channel-like fields |
| EPOC X/Plus | CogniFit and Robots | AF3, F7, F3, FC5, T7, P7, O1, O2, P8, T8, FC6, F4, F8, AF4 | Device metrics and non-EEG fields |
| CGX Quick-32r | Slackline L1, L6 and L11 | AF7, Fpz, F7, Fz, T7, FC6, Fp1, F4, C4, Oz, CP6, Cz, PO8, CP5, O2, O1, P3, P4, P7, P8, Pz, PO7, T8, C3, Fp2, F3, F8, FC5, AF8 | A2, ExG 1, ExG 2, and non-EEG fields |
Table 7. EEG channel schemas in the released derivatives.
Each MNE-FIF signal file contains boundary annotations. Sample mappings link its processed blocks to the source recording. Users can select recordings by duration, block count and interpolation decisions from the cohort index before loading the signals.
QC and preprocessing records
Source audits describe each available recording’s device, channels, timing, and readability. Raw and postprocessing QC records contain temporal and spectral measurements at the window, channel, and recording scales described in Methods. Matched source and derivative measurements support comparisons before and after preprocessing, with summaries of coverage and signal consistency.
The accompanying documentation records acquisition strata, metric roles, thresholds, and processing plans. Decision records retain automatic and final QC outcomes, interpolation actions, and their reasons. Review assessments, confidence, and rationale are preserved separately. The records also document that clinical labels were excluded from processing decisions.
Feature tables and catalogues
Each task and feature family is accompanied by catalogues describing recordings, channels, window configurations, analysis windows, and feature definitions. The and provide common temporal identifiers. Task and configuration information may be encoded in folders rather than repeated in every table row. The supplied loading example accounts for this organisation, and the file inventory identifies the available task-family archives.
Feature-table rows differ in meaning and multiplicity across families (Table 4). The edge catalogue fixes unique channel-pair ordering; other catalogues define indexed values, including graph communities and connectivity associations. These ordering rules are needed when unpacking or joining outputs.
The feature catalogue specifies names, units, estimators, parameters, applicability, and invalid-value rules. Calculation states distinguish unsupported durations, absent peaks, undefined statistics, and failures. These states must not be collapsed to zero or interpreted as equivalent missingness mechanisms.
Documentation and data integrity
SHA-256 inventories verify downloaded archives and extracted files. Dataset and software file manifests identify their contents, allowing the resources used in a study to be documented precisely.
Technical Validation Results
The following results describe source eligibility, curation, retained signal coverage, numerical reference checks and release integrity. Their interpretation is limited to the technical properties assessed.
Source inventory and eligibility validation
Of 790 expected participant-task pairs across 158 participants, 107 lacked a recording and 683 had a readable recording (Figure 4). The initial audit excluded nine recordings for duration and two for sampling frequency, leaving 672 (Table B.1 in Appendix § 14).
Figure 4. Overall recording eligibility from expected pairs to final derivatives.
All 683 readable recordings completed raw QC without processing failure, including those excluded by the initial audit. One of the four QC exclusions had already failed the sampling-frequency check. The other three brought the total to 14 distinct exclusions, leaving 669 eligible recordings from 156 participants. The QC records retain the measurements and decision reasons. Eligibility was task-specific (Figure 5); because task cohorts overlap, their counts must not be summed as distinct participants.
Figure 5. Recording availability and retention across the five task conditions.
Raw QC and decision audit
Label-blind calibration produced 222 stratum-specific thresholds, 346,309 window decisions, 15,862 channel decisions, and 683 recording decisions. Continuous measurements and calculation states accompany the classifications.
The assessed subset was enriched for warnings and recordings requiring review. These assessments supported curation and were not an error-free reference for estimating false-positive rates, sensitivity, specificity, or cohort prevalence [18].
Of the 683 readable recordings, 114 passed raw QC, 565 passed with warnings and four were excluded by QC. A warning records an action or technical caveat; it does not override the initial eligibility rules or exclude the participant.
Preprocessing and post-processing QC validation
All 669 derivatives were generated without failure, with 217 channels interpolated across 147 recordings.
In the paired raw and preprocessed 8s QC summaries, median slow-drift and 30–40 Hz ratios decreased in every task (Figure 6; Table B.2 in Appendix § 14). Cross-channel spectral correlation remained similar for EPOC tasks and increased for CGX tasks. It measures spectral structure across channels, not raw-to-processed waveform fidelity. Connectors join task medians of recording-level measurements at their tabulated precision, not individual paired observations. The figure shows neither distributions nor uncertainty bars.
Figure 6. Raw and processed recording-level QC medians by task.
Attenuation within targeted ranges, and above 40 Hz including 50 Hz, was expected from the filter. These descriptive changes do not independently establish improved neural-signal quality. Full paired values and distributions remain available.
All 669 derivatives passed sample-count, 128-Hz sampling, block-correspondence, finite-sample, and channel-inventory checks. Median retained duration was 100% in every task. Two short EPOC blocks totalling 0.211 s were omitted, with a minimum retained proportion of 99.978%. Declared and observed block counts agreed throughout.
Derivative integrity and computational reproducibility
The integrity audit confirmed readable derivatives with expected annotations, continuous-block records and metadata. Original recordings and preceding QC records remain unchanged. Download verification is described in § 3.7.
Feature release validation
Every family recorded validated status. Table 8 gives the saved outcomes and their bounded interpretation. These are executed numerical checks, not merely test-source availability, and do not establish biological validity or adequate performance on every real epoch.
| Family | Reference checks | Recorded outcome and scope |
| Temporal and statistical | Constant mean and variance, sinusoidal RMS, and alternating-signal zero-crossing rate. | Listed checks passed for the specified signals. |
| Conventional spectral | Known sinusoidal bands and dominant frequencies, zero power for a constant signal, and frequency-grid spacing. | Expected values and grid checks passed. |
| Aperiodic spectral | Pure-spectrum offset and exponent recovery, near-zero residuals, and known theta and alpha peaks. | Parameter and peak-recovery checks passed for synthetic spectra. |
| Complexity and fractal | Constant and ramp limits, sinusoid-versus-noise ordering, and persistence ordering. | Listed limits and orderings passed, with explicit undefined values. |
| Functional connectivity | Identical, inverted, and constant signals tested signed correlation and spectral limiting cases. | Expected values and undefined constant-signal correlation were confirmed. |
| Graph and network | Complete, path, star, and disconnected graphs tested topology, sign decomposition, and Laplacian invariants. | Listed graph properties and invariants passed. |
| Time-frequency decomposition | Wavelet reconstruction and percentage-sum invariants, with saved reference cases. | Invariants recorded as validated per row. |
Table 8. Saved numerical reference checks by feature family.
A separate integrity audit confirmed all 35 task-family outputs and 1,832 files, with no identified integrity issues. Recording and window inventories, feature definitions, validation records, and checksums were present. All families were linked to the same preprocessed source recordings, and graph outputs were linked to their corresponding connectivity values.
Temporal/statistical, spectral, and decomposition outputs had no invalid scalar values. Aperiodic records distinguish absent accepted peaks from fit warnings or failures. The accompanying fit diagnostics retain calculation states, warning reasons, squared correlation, and MAE, with summaries by task, device, and epoch configuration. These empirical diagnostics should guide selection for reuse. Finite parameters and successful synthetic checks do not guarantee adequate fits to all recorded spectra.
Complexity outputs retain four duration-inapplicable nulls at 2s and one at 4s. Connectivity and graph outputs retain mathematically undefined states. Unsupported duration, absent peak, and undefined statistic must not be pooled as one processing-failure category. Catalogues distinguish definition counts, indexed positions, and physical rows. Together, the audits support numerical properties, structural completeness, and traceable lineage, without using classification performance as evidence of clinical validity.
Discussion
Reuse shifts effort from reconstructing signal preparation and window alignment to choosing scientifically appropriate subsets and representations. Eligibility, interpolation and calculation-state records make those choices inspectable, while the retained continuous signals allow researchers to test alternative estimators against the supplied measurements.
Predictive utility demonstration
The saved evaluations illustrate predictive reuse separately from technical validation (Figure 7; Table B.3 in Appendix § 14). AUROC describes recruitment-group discrimination; lower Brier scores indicate smaller probability error, not complete calibration. The dashed AUROC 0.5 line is a reference, not the comparator’s measured result. No Brier intervals or significance tests are shown. Retrospective selection and fixed-prediction uncertainty are described in § 2.5.
Figure 7. Saved predictive utility across four overlapping task cohorts.
Robots had the highest AUROC point estimate, whereas Slackline discrimination was weaker. XGBoost’s Brier score was lower than the prevalence comparator’s for Robots and L1, but higher for L6 and L11. These descriptive differences are not superiority tests. Overlapping cohorts, acquisition differences and task-specific partitions prevent treating tasks as independent cohorts or interpreting their differences causally.
Research applications and processing trade-offs
Researchers can investigate associations between task EEG and participant characteristics, compare complementary feature representations, and examine feature redundancy or selection stability. These applications require explicit analytical targets and participant-aware evaluation.
The preprocessing sequence balances comparability with recording coverage. Its effects under filtering, interpolation and average reference must be judged against the intended analysis and residual contamination, rather than attenuation alone. Numerical reference checks and release audits establish estimator properties and structural completeness; biological interpretation requires additional evidence.
Limitations and appropriate interpretation
Transient artefacts and artefact components were not removed. Residual ocular, muscle, and movement contamination can remain. Interpolation and average reference can affect connectivity and graphs, while common filtering and sampling cannot remove montage differences or task-device confounding.
Recruitment group and assessment diagnosed are distinct. Do not reassign undetermined to a diagnostic class without an explicit external rule. Within-task analyses simplify interpretation because task, device, montage, and duration differ. Pooling cannot separate task and device effects, and common sampling does not establish hardware equivalence. Multimodal linkage requires checking task-specific timing, not just identifiers.
The source cohort and task-acquisition design bound generalisation. Recruitment and assessment labels need to be interpreted in their documented clinical context. The resource supports methodological and neurophysiological research, while clinical or diagnostic applications require independent validation. Aperiodic fits and mathematically undefined outputs require review of their saved diagnostics and calculation states before analytical inclusion.
Practical reuse guidance
Begin with README.md, use the file inventory to select the required archives, and verify downloads against SHA256SUMS. Signals can be read with MNE-FIF-compatible tools, and tables with CSV/Parquet readers. Retain the accompanying calculation states and quality records when selecting data.
A manageable starting point is the conventional spectral feature set for Robots (BAL02), using 8s windows. The supplied loading example shows how to select this task, family, and duration. Consult the feature and window catalogues to identify the measurements and their sample boundaries. Match channel-level families using recording, window, channel schema, and channel identifiers. Matching only by window would incorrectly combine measurements from different channels. Use participant identifiers to link metadata and the family catalogues to interpret indexed values, rather than relying on row order.
For predictive evaluation, keep all recordings and epochs from each participant in one training, validation, or test partition. Learn imputation, scaling, feature selection, dimensionality reduction, and model settings from training data only, using inner validation where required. Interpret nulls through their recorded reasons rather than replacing them with zero.
Selecting only the required tasks, feature families, durations, and columns reduces memory requirements. Researchers evaluating different preprocessing should begin with the original BALLADEER signals and document their processing.
Conclusions
Differences between EEG features are difficult to interpret when the features come from different stretches of a recording or from signals prepared in different ways. To support matched comparisons in ADHD research, we curated 669 task recordings from 156 children and adolescents in BALLADEER and linked seven families of features to the continuous EEG from which they were calculated. Neither recruitment group nor diagnostic assessment determined which recordings were retained. Researchers can compare, for example, spectral power and connectivity over the same eight seconds of a task, or compute a new measure on those samples. The accompanying records identify interpolated channels and distinguish a window too short for an estimator from one in which no spectral peak met the acceptance criteria.
All 669 preprocessed recordings passed checks on sample counts, channel inventories and continuity boundaries. Each feature family also passed its numerical reference checks. These results document which samples were retained and how the estimators behaved on known inputs; they do not rule out residual movement or muscle artefacts.
The saved predictive example covered four of five conditions: Robots, a visual search game, and three Slackline levels in which players respond to on-screen flags. Using eight-second windows to distinguish recruitment groups in held-out participants, XGBoost yielded a mean area under the receiver operating characteristic curve of 0.728 for Robots and 0.483–0.576 across Slackline levels. The cohorts overlap and recording systems differ, so the results neither isolate a task effect nor validate an ADHD diagnostic test. Within a task, researchers can test whether connectivity adds information beyond spectral power using the same windows and held-out participants.
Data Availability
The dataset (version 1.0.0, CC BY 4.0) is publicly available from Zenodo at https://doi.org/10.5281/zenodo.21982978 [36]. The original BALLADEER dataset is available from Figshare at https://doi.org/10.6084/m9.figshare.28676042.v2 [8].
Code Availability
The curation software, code for the XGBoost example and saved aggregate results are available together in version 1.1.0 on Zenodo at https://doi.org/10.5281/zenodo.24399993 [35]. The software is licensed under BSD 3-Clause; the saved aggregate results and new release documentation are licensed under CC BY 4.0. The original curation release (version 1.0.0) remains available at https://doi.org/10.5281/zenodo.21982948 [37].
CRediT authorship contribution statement
Author contributions are reported using the Contributor Roles Taxonomy (CRediT). Javier Sanchis: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Supervision, Validation, Visualization, Writing - original draft, Writing - review & editing. Álvaro Navarro and Jorge García-Carrasco: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Validation, Visualization, Writing - original draft, Writing - review & editing. Tahar Kechadi and Juan Trujillo: Conceptualization, Formal analysis, Funding acquisition, Project administration, Supervision, Writing - review & editing.
Funding
This work was supported by Subvenciones para estancias de personal investigador doctor en centros de investigación radicados fuera de la Comunitat Valenciana para el ejercicio 2026 (CIBEST-2026), grant CIBEST/2026/181, Conselleria d’Educació, Cultura i Universitats. It was also supported by the BALIDA-AA project (CIPROM/2024/13), funded by Conselleria de Educación, Cultura, Universidades y Empleo (Generalitat Valenciana). Additional support was provided by the KOSMOS-UA project (PID2024-155363OB-C43), funded by the Spanish Ministry of Science and Innovation. The funders had no role in study design, analysis, writing or the decision to submit.
Competing Interests
The authors declare no competing interests.
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
During the preparation of this work, the authors used ChatGPT and Codex to assist manuscript review, evidence checking, drafting, rewriting and sentence polishing. After using these tools, the authors reviewed and edited the content as needed and take full responsibility for the content of this manuscript.
Mathematical feature definitions
This appendix gives the equations and fixed estimator conventions underlying the feature inventories in § 2.3. The definitions apply independently to each valid gap-aware epoch and retain the units of the preprocessed EEG signal. Undefined mathematical states were stored as null values with an explicit reason rather than replaced by zero.
Temporal and statistical definitions
For channel epoch sampled at , mean and mean absolute value use denominator . Variance uses and represents Hjorth activity. SD is , and RMS is . Other summaries are minimum, maximum, median, peak-to-peak range, IQR with linearly interpolated quantiles, and unscaled MAD about the median. For central moments , adjusted skewness and unbiased excess kurtosis are
Insufficient sample size or zero variance gives a null. Line-length and zero-crossing rates are
where counts sign transitions [38]. Values below double-precision machine epsilon are treated as zero, with internal zero runs inheriting the preceding non-zero sign.
With , , and sample variance , Hjorth measures [39] are
Zero denominators produce reason-coded nulls.
Conventional spectral definitions
The one-sided Welch PSD uses 2s periodic Hann segments, 50% overlap, constant detrending, and 256 Fourier points at 128 Hz: 256 samples per segment, 128 overlapping samples, and a 0.5-Hz grid [19, 20]. Exact band boundaries are inserted by linear interpolation before trapezoidal integration. Bands are delta , theta , alpha , beta , and restricted gamma Hz. Absolute power is , total power is , and relative power is . Ratios are , , and , with nulls for zero denominators.
Dominant frequency is the lowest maximising bin within 1–40 Hz. For its bins, and normalised spectral entropy is [40]. Spectral edges at 50% and 95% locate the first cumulative-power interval reaching the corresponding fraction of , with linear interpolation of the crossing frequency.
Aperiodic spectral definitions
The 1–30 Hz log-power spectrum uses fixed no-knee background plus Gaussian peaks [26, 27]:
Here is offset, the positive exponent, and each peak has height , centre , and bandwidth . Peak widths are 1–8 Hz, minimum height 0.1 log-power units, threshold 2.5 residual SD, and maximum count six.
The highest-power accepted peak in theta [4, 8), alpha [8, 13), and beta [13, 30] supplies centre, power, and bandwidth. Ties select the lower centre, then narrower bandwidth. No accepted peak gives a null triplet. The 16 predictors comprise offset, exponent, peak count, nine band-peak values, and four adjusted band means. For delta, theta, alpha, and beta bounds , the latter are . Fit diagnostics are squared correlation and MAE . They are excluded from the default predictor view.
Complexity and fractal definitions
All estimators use channel epochs at 128 Hz. Higuchi, Katz, Petrosian, permutation, dispersion, singular-value, and LZ76 descriptors support 2s. Rescaled-range and detrended fluctuation exponents and sample entropy require 4s, and approximate entropy requires 8s.
Higuchi dimension [41] is the least-squares slope of against for , with
Katz dimension [42] is , where , , and . Zero path, mean step, diameter, or denominator gives a null. Petrosian dimension [43] uses the number of first-difference sign changes:
Rescaled-range (R/S) analysis [44] uses complete blocks of samples. Within each block, is the range of the cumulative demeaned signal and its original sample SD. The Hurst estimate is the least-squares slope of against , using valid block ratios. Detrended Fluctuation Analysis (DFA) [45] first integrates the demeaned epoch, removes a linear trend within each complete block at the same scales, and fits the slope of against , where is the RMS residual across all samples in those blocks.
Approximate and sample entropy [46, 47] use dimension , delay one sample, Chebyshev distance, and tolerance with population SD . For templates , define
Approximate entropy is , including self-matches. Sample entropy is for distinct matching pairs of lengths and , respectively. Insufficient matches give a null. Permutation entropy [48] uses order three, delay one, and . Dispersion entropy [49] maps samples to and classes , then uses the same entropy form divided by for length-two class patterns. Singular-value entropy uses a centred order-three, delay-one embedding, singular-value proportions , and . LZ76 [50] encodes samples at or above the median as one and others as zero, counts new phrases by left-to-right parsing, and normalises the count as .
Functional connectivity definitions
Broadband Pearson correlation retains its sign, without lag search or Fisher transformation. Spectral estimates use the 2s periodic Hann geometry in Appendix A.2. Let be segment ’s cross-periodogram, its mean over segments, and . Magnitude-Squared Coherence (MSC) and absolute imaginary coherency are
Imaginary coherency reduces instantaneous field-spread effects but does not remove all sensor-space confounds [33, 51].
For non-zero cross-periodograms, let . Phase-Locking Value (PLV), Phase-Lag Index (PLI), and weighted Phase-Lag Index (wPLI) [52, 53, 54] are
A zero wPLI denominator gives a null. Estimates are averaged across discrete bins in the five spectral bands. Matrices are symmetric with unit diagonal and canonical channel-pair order. Pearson supports all durations, while spectral matrices require at least seven segments and therefore 8s/16s epochs.
Graph and network definitions
Non-negative adjacency matrices use , , and for Pearson correlation and direct weights for 25 spectral matrices. Positive weights define edges of length , while zero denotes an absent edge with infinite length [34]. For channels, define strength , degree , neighbours , and .
Normalised node strength is . Onnela clustering [55] and modified weighted local efficiency [34, 56] are
The sums run over ordered distinct neighbours. Distances are shortest paths within that neighbour subgraph using lengths . Both metrics are zero for . Normalised betweenness is , where counts weighted shortest paths through and all such paths. Eigenvector centrality is the unit-length principal eigenvector of , with non-negative sum.
Global summaries include mean weight over all possible undirected edges, strength coefficient of variation using population SD, mean clustering, and mean local efficiency. With shortest distances under ,
Unreachable pairs contribute zero efficiency, but make characteristic path length null. Weighted modularity [57] is
using deterministic greedy communities at resolution one. For the Laplacian with eigenvalues , algebraic connectivity is , spectral radius is , and synchronisability is , null when is numerically zero.
Time-frequency decomposition definitions
Four-level DWTs use , , and with periodisation boundaries [31, 58]. Ordered coefficients represent nominal 0–4, 4–8, 8–16, 16–32, and 32–64 Hz intervals. The final carrier contains available 32–40 Hz activity and transition effects, not restored information above the preprocessing cutoff.
Let reconstruct carrier with all other coefficient sets zero, and . Carrier summaries are mean power , mean absolute amplitude, adjusted skewness, and unbiased excess kurtosis as in Appendix A.1. With , energy entropy is . Mean Teager–Kaiser energy [59] is
For five carriers , Percentage Raw Energy (PRE) is . Wavelet energy entropy is , where .
Amplitude modulation uses analytic envelopes , with discrete Hilbert transform [32]. For , Percentage Envelope Energy (PEE) is . Each envelope undergoes the same four-level DWT, retaining modulation intervals 0–4, 4–8, 8–16, and 16–32 Hz. With reconstructed modulation and energy , Percentage Modulation Energy (PME) is . Ten templates yield 61 values per wavelet and 183 across the three wavelets.
Supporting numerical tables
The following tables retain the task-level initial-audit exclusions, preprocessing QC medians and saved predictive-utility estimates accompanying Figure 5, Figure 6 and Figure 7. Initial-audit retention precedes raw-signal QC and is distinct from final eligibility. The predictive-utility table also reports balanced accuracy, which is not plotted.
| Task | Cohort subjects | Available recordings | Missing recordings | Duration exclusions | Sampling frequency exclusions | Retained after initial audit |
| CogniFit | 158 | 131 | 27 | 0 | 0 | 131 |
| Robots | 158 | 132 | 26 | 7 | 2 | 123 |
| Slackline L1 | 158 | 140 | 18 | 0 | 0 | 140 |
| Slackline L6 | 158 | 140 | 18 | 0 | 0 | 140 |
| Slackline L11 | 158 | 140 | 18 | 2 | 0 | 138 |
| Total | 683 | 107 | 9 | 2 | 672 |
Table B.1. Source recording availability and initial-audit eligibility by task.
| Task | Recordings | Slow-drift ratio | 30-40 Hz ratio | Spectral correlation |
| CogniFit | 129 | 0.267 → 0.207 | 0.043 → 0.026 | 0.717 → 0.716 |
| Robots | 123 | 0.206 → 0.155 | 0.049 → 0.032 | 0.716 → 0.713 |
| Slackline L1 | 140 | 0.341 → 0.213 | 0.020 → 0.011 | 0.743 → 0.824 |
| Slackline L6 | 139 | 0.344 → 0.230 | 0.019 → 0.010 | 0.746 → 0.828 |
| Slackline L11 | 138 | 0.378 → 0.247 | 0.018 → 0.009 | 0.738 → 0.828 |
Table B.2. Paired recording-level QC medians before and after preprocessing.
| Task | XGBoost AUROC (95% CI) | XGBoost balanced accuracy | XGBoost Brier score | Prevalence comparator Brier score | |
| Robots | 123 | 0.728 (0.641–0.818) | 0.652 | 0.206 | 0.243 |
| Slackline L1 | 140 | 0.576 (0.497–0.653) | 0.517 | 0.238 | 0.244 |
| Slackline L6 | 139 | 0.483 (0.424–0.546) | 0.497 | 0.245 | 0.242 |
| Slackline L11 | 138 | 0.514 (0.440–0.588) | 0.487 | 0.248 | 0.244 |
Table B.3. Participant-level recruitment-group discrimination from saved ALL/XGBoost/8s evaluations.
Lower Brier scores are better. The prevalence comparator’s stored balanced accuracy is 0.500 in all four cohorts. Counts represent overlapping participant cohorts, not independent samples across tasks. Values are rounded directly from stored configuration summaries distributed with software version 1.1.0 [35].
References
- [1]National Institute for Health and Care Excellence. Attention deficit hyperactivity disorder: diagnosis and management. NICE guideline NG87, 2018. URL https://www.nice.org.uk/guidance/ng87/chapter/recommendations#diagnosis. Recommendation 1.3.1. Accessed 19 November 2026.
- [2]Bradley S. Peterson, Joey Trampush, Morah Brown, Margaret Maglione, Maria Bolshakova, Mary Rozelle, Jeremy Miles, Sheila Pakdaman, Sachi Yagyu, Aneesa Motala, and Susanne Hempel. Tools for the diagnosis of ADHD in children and adolescents: A systematic review. Pediatrics, 153(4):e2024065854, 2024. doi: 10.1542/peds.2024-065854. URL https://doi.org/10.1542/peds.2024-065854.
- [3]Catalina Quintero López, Víctor D. Gil Vera, and María J. Ruiz Quintero. Diagnosis of ADHD in children with EEG and machine learning: Systematic review and meta-analysis. Clinical and Health, 36(2):109–121, 2025. doi: 10.5093/cl2025a16. URL https://doi.org/10.5093/clh2025a16.
- [4]Ali Motie Nasrabadi, Armin Allahverdy, Mehdi Samavati, and Mohammad Reza Mohammadi. EEG data for ADHD / control children. IEEE DataPort, 2020. URL https://doi.org/10.21227/rzfh-zn36.
- [5]Lindsay M. Alexander et al. An open resource for transdiagnostic research in pediatric mental health and learning disorders. Scientific Data, 4:170181, 2017. doi: 10.1038/sdata.2017.181. URL https://doi.org/10.1038/sdata.2017.181.
- [6]Juan Trujillo, Rosario Ferrer-Cascales, Miguel A. Teruel, Nicolás Ruiz-Robledillo, Javier Sanchis, Sandra García-Ponsoda, Alejandro Panagiotidis-Arrizabalaga, Natalia Albaladejo-Blázquez, Ángela Martínez-Nicolás, Jorge García-Carrasco, Alejandro Reina, Ana Lavalle, Alejandro Maté, and Borja Costa-López. A multimodal dataset for neurophysiological and AI applications. Scientific Data, 13(1):436, 2026. doi: 10.1038/s41597-026-06758-7. URL https://doi.org/10.1038/s41597-026-06758-7.
- [7]Cristina Gil Ávila, Felix S. Bott, Laura Tiemann, Vanessa D. Hohn, Elisabeth S. May, Moritz M. Nickel, Paul Theo Zebhauser, Joachim Gross, and Markus Ploner. DISCOVER-EEG: an open, fully automated EEG pipeline for biomarker discovery in clinical neuroscience. Scientific Data, 10(1):613, 2023. doi: 10.1038/s41597-023-02525-0. URL https://doi.org/10.1038/s41597-023-02525-0.
- [8]Juan Trujillo, Rosario Ferrer-Cascales, Miguel A. Teruel, Nicolás Ruiz-Robledillo, Javier Sanchis, Sandra García-Ponsoda, Alejandro Panagiotidis-Arrizabalaga, Natalia Albaladejo-Blázquez, Ángela Martínez-Nicolás, Jorge García-Carrasco, Alejandro Reina, Ana Lavalle, Alejandro Maté, and Borja Costa-López. A multimodal dataset for neurophysiological and AI applications. Figshare, 2026. URL https://doi.org/10.6084/m9.figshare.28676042.v2. CC BY 4.0.
- [9]Miguel A. Teruel, Javier Sanchis, Nicolás Ruiz-Robledillo, Natalia Albaladejo-Blázquez, Rosario Ferrer-Cascales, and Juan Trujillo. Measuring attention of ADHD patients by means of a computer game featuring biometrical data gathering. Heliyon, 10(5):e26555, 2024. doi: 10.1016/j.heliyon.2024.e26555. URL https://doi.org/10.1016/j.heliyon.2024.e26555.
- [10]Alejandro Panagiotidis-Arrizabalaga, Ana Lavalle, Miguel A. Teruel, Javier Sanchis, Nicolás Ruiz-Robledillo, and Borja Costa-López. Serious game–based attention assessment for attention-deficit/hyperactivity disorder in children and adolescents: Preliminary cross-sectional convergent validation study. JMIR Serious Games, 14:e80441, 2026. doi: 10.2196/80441. URL https://games.jmir.org/2026/1/e80441.
- [11]Hugh Nolan, Robert Whelan, and Richard B. Reilly. FASTER: Fully automated statistical thresholding for EEG artifact rejection. Journal of Neuroscience Methods, 192(1):152–162, 2010. doi: 10.1016/j.jneumeth.2010.07.015. URL https://doi.org/10.1016/j.jneumeth.2010.07.015.
- [12]Nima Bigdely-Shamlo, Tim Mullen, Christian Kothe, Kuo-Ming Su, and Kay A. Robbins. The PREP pipeline: standardized preprocessing for large-scale EEG analysis. Frontiers in Neuroinformatics, 9:16, 2015. doi: 10.3389/fninf.2015.00016. URL https://doi.org/10.3389/fninf.2015.00016.
- [13]Mainak Jas, Denis A. Engemann, Yousra Bekhti, Federico Raimondo, and Alexandre Gramfort. Autoreject: Automated artifact rejection for MEG and EEG data. NeuroImage, 159:417–429, 2017. doi: 10.1016/j.neuroimage.2017.06.030. URL https://doi.org/10.1016/j.neuroimage.2017.06.030.
- [14]Laurel J. Gabard-Durnam, Adriana S. Mendez Leal, Carol L. Wilkinson, and April R. Levin. The harvard automated processing pipeline for electroencephalography (HAPPE): Standardized processing software for developmental and high-artifact data. Frontiers in Neuroscience, 12:97, 2018. doi: 10.3389/fnins.2018.00097. URL https://doi.org/10.3389/fnins.2018.00097.
- [15]Andreas Pedroni, Amirreza Bahreini, and Nicolas Langer. Automagic: Standardized preprocessing of big EEG data. NeuroImage, 200:460–473, 2019. doi: 10.1016/j.neuroimage.2019.06.046. URL https://doi.org/10.1016/j.neuroimage.2019.06.046.
- [16]Cyril Pernet, Marta I. Garrido, Alexandre Gramfort, Natasha Maurits, Christoph M. Michel, Elizabeth Pang, Riitta Salmelin, Jan Mathijs Schoffelen, Pedro A. Valdes-Sosa, and Aina Puce. Issues and recommendations from the OHBM COBIDAS MEEG committee for reproducible EEG and MEG research. Nature Neuroscience, 23(12):1473–1483, 2020. doi: 10.1038/s41593-020-00709-0. URL https://doi.org/10.1038/s41593-020-00709-0.
- [17]Dmitry Mikhaylov, Muhammad Saeed, Mohamed Husain Alhosani, and Yasser F. Al Wahedi. Comparison of EEG signal spectral characteristics obtained with consumer- and research-grade devices. Sensors, 24(24):8108, 2024. doi: 10.3390/s24248108. URL https://doi.org/10.3390/s24248108.
- [18]Arnaud Delorme. EEG is better left alone. Scientific Reports, 13(1):2372, 2023. doi: 10.1038/s41598-023-27528-0. URL https://doi.org/10.1038/s41598-023-27528-0.
- [19]Peter D. Welch. The use of fast fourier transform for the estimation of power spectra: A method based on time averaging over short, modified periodograms. IEEE Transactions on Audio and Electroacoustics, 15(2):70–73, 1967. doi: 10.1109/TAU.1967.1161901. URL https://doi.org/10.1109/TAU.1967.1161901.
- [20]Fredric J. Harris. On the use of windows for harmonic analysis with the discrete Fourier transform. Proceedings of the IEEE, 66(1):51–83, 1978. doi: 10.1109/PROC.1978.10837. URL https://doi.org/10.1109/PROC.1978.10837.
- [21]Peter J. Rousseeuw and Mia Hubert. Anomaly detection by robust statistics. Wiley interdisciplinary reviews: Data mining and knowledge discovery, 8(2):e1236, 2018. doi: 10.1002/widm.1236. URL https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/widm.1236.DOI
- [22]Natasha Kovacevic, Amir Meghdadi, Chris Berka, Ziad S. Saad, Hartmuth C. Kolb, Peter de Boer, Maura Furey, and Silke Miller. Differences in resting state and task-based eeg measures between patients with major depressive disorder and healthy controls. Clinical Neurophysiology, 173:190–198, 2025. ISSN 1388-2457. doi: 10.1016/j.clinph.2025.03.022. URL https://www.sciencedirect.com/science/article/pii/S1388245725004389.DOI
- [23]Andreas Widmann, Erich Schröger, and Burkhard Maess. Digital filter design for electrophysiological data: a practical approach. Journal of Neuroscience Methods, 250: 34–46, 2015. doi: 10.1016/j.jneumeth.2014.08.002. URL https://doi.org/10.1016/j.jneumeth.2014.08.002.
- [24]Nouf Jubran AlQahtani, Manar Gherbi, Ali Al-Shaikhi, and Mohamed A. Mohandes. Deep learning approaches to evaluating ADHD using EEG data: RNN, GRU, and LSTM models. Arabian Journal for Science and Engineering, 51:287–319, 2026. doi: 10.1007/s13369-025-10984-3. URL https://doi.org/10.1007/s13369-025-10984-3.
- [25]Ornella Dakwar-Kawar, Tal Mentch-Lifshits, Shachar Hochman, Noam Mairon, Reut Cohen, Pragathi Balasubramani, Jyoti Mishra, Josh Jordan, Roi Cohen Kadosh, Itai Berger, and Mor Nahum. Aperiodic and periodic components of oscillatory brain activity in relation to cognition and symptoms in pediatric ADHD. Cerebral Cortex, 34(6):bhae236, 2024. doi: 10.1093/cercor/bhae236. URL https://doi.org/10.1093/cercor/bhae236.
- [26]Thomas Donoghue, Matar Haller, Erik J. Peterson, Paroma Varma, Priyadarshini Sebastian, Richard Gao, Torben Noto, Antonio H. Lara, Joni D. Wallis, Robert T. Knight, Augusta Shestyuk, and Bradley Voytek. Parameterizing neural power spectra into periodic and aperiodic components. Nature Neuroscience, 23(12):1655–1665, 2020. doi: 10.1038/s41593-020-00744-x. URL https://doi.org/10.1038/s41593-020-00744-x.
- [27]Moritz Gerster, Gunnar Waterstraat, Vladimir Litvak, Klaus Lehnertz, Alfons Schnitzler, Esther Florin, Gabriel Curio, and Vadim Nikulin. Separating neural oscillations from aperiodic 1/f activity: Challenges and recommendations. Neuroinformatics, 20:991–1012, 2022. doi: 10.1007/s12021-022-09581-8. URL https://doi.org/10.1007/s12021-022-09581-8.
- [28]Ran Chen, Wen-Juan Liu, Jiu-Ju Wang, Dong-Dong Zhou, and Yu-Feng Wang. Aperiodic components and aperiodic-adjusted alpha-band oscillations in children with ADHD. Journal of Psychiatric Research, 173:225–231, 2024. doi: 10.1016/j.jpsychires.2024.03.042. URL https://doi.org/10.1016/j.jpsychires.2024.03.042.
- [29]Erin J. Panda, Sambavi Arulnandhy, Ayda Tekok-Kilic, Sidney J. Segalowitz, and William Marshall. Relating ADHD to the aperiodic component of the EEG signal in both males and females across development. Developmental Cognitive Neuroscience, 79:101732, 2026. doi: 10.1016/j.dcn.2026.101732. URL https://doi.org/10.1016/j.dcn.2026.101732.
- [30]Zen J. Lau, Tam Pham, S. H. Annabel Chen, and Dominique Makowski. Brain entropy, fractal dimensions and predictability: A review of complexity measures for EEG in healthy and neuropsychiatric populations. European Journal of Neuroscience, 56(7):5047–5069, 2022. doi: 10.1111/ejn.15800. URL https://doi.org/10.1111/ejn.15800.
- [31]Stéphane G. Mallat. A theory for multiresolution signal decomposition: the wavelet representation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 11(7): 674–693, 1989. doi: 10.1109/34.192463. URL https://doi.org/10.1109/34.192463.
- [32]Mehrnoosh Sadat Safi and Seyed Mohammad Mehdi Safi. Diagnosis of ADHD in children from EEG signals using amplitude modulation features. Computers in Biology and Medicine, 213:111828, 2026. doi: 10.1016/j.compbiomed.2026.111828. URL https://doi.org/10.1016/j.compbiomed.2026.111828.
- [33]André M. Bastos and Jan-Matthijs Schoffelen. A tutorial review of functional connectivity analysis methods and their interpretational pitfalls. Frontiers in Systems Neuroscience, 9: 175, 2016. doi: 10.3389/fnsys.2015.00175. URL https://doi.org/10.3389/fnsys.2015.00175.
- [34]Mikail Rubinov and Olaf Sporns. Complex network measures of brain connectivity: uses and interpretations. NeuroImage, 52(3):1059–1069, 2010. doi: 10.1016/j.neuroimage.2009.10.003. URL https://doi.org/10.1016/j.neuroimage.2009.10.003.
- [35]Javier Sanchis, Álvaro Navarro, Jorge García-Carrasco, Mohand Tahar KECHADI, and Juan Trujillo. EEG Preprocessing Software for ADHD Research in Children and Adolescents: Data Curation, Feature Extraction and an XGBoost Example. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.24399993. Version 1.1.0. Computer software.
- [36]Javier Sanchis, Álvaro Navarro, Jorge García-Carrasco, Mohand Tahar KECHADI, and Juan Trujillo. EEG Dataset for ADHD Research in Children and Adolescents: Reprocessed Task Recordings and Seven Families of Aligned Features. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.21982978. Version 1.0.0. Dataset. CC BY 4.0 licence.
- [37]Javier Sanchis, Álvaro Navarro, Jorge García-Carrasco, Mohand Tahar Kechadi, and Juan Trujillo. EEG quality control, preprocessing and feature extraction software for ADHD research. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.21982948. Version 1.0.0. Computer software. BSD 3-Clause licence.
- [38]R. Esteller, J. Echauz, T. Tcheng, B. Litt, and B. Pless. Line length: an efficient feature for seizure onset detection. In Proceedings of the 23rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society, volume 2, pages 1707–1710, 2001. doi: 10.1109/IEMBS.2001.1020545. URL https://doi.org/10.1109/IEMBS.2001.1020545.
- [39]Bo Hjorth. EEG analysis based on time domain properties. Electroencephalography and Clinical Neurophysiology, 29(3):306–310, 1970. doi: 10.1016/0013-4694(70)90143-4. URL https://doi.org/10.1016/0013-4694(70)90143-4.
- [40]T. Inouye, K. Shinosaki, H. Sakamoto, S. Toi, S. Ukai, A. Iyama, Y. Katsuda, and M. Hirano. Quantification of EEG irregularity by use of the entropy of the power spectrum. Electroencephalography and Clinical Neurophysiology, 79(3):204–210, 1991. doi: 10.1016/0013-4694(91)90138-T. URL https://doi.org/10.1016/0013-4694(91)90138-T.
- [41]Tomoyuki Higuchi. Approach to an irregular time series on the basis of the fractal theory. Physica D: Nonlinear Phenomena, 31(2):277–283, 1988. doi: 10.1016/0167-2789(88)90081-4. URL https://doi.org/10.1016/0167-2789(88)90081-4.
- [42]Michael J. Katz. Fractals and the analysis of waveforms. Computers in Biology and Medicine, 18(3):145–156, 1988. doi: 10.1016/0010-4825(88)90041-8. URL https://doi.org/10.1016/0010-4825(88)90041-8.
- [43]A. Petrosian. Kolmogorov complexity of finite sequences and recognition of different preictal EEG patterns. In Proceedings of the Eighth IEEE Symposium on Computer-Based Medical Systems, pages 212–217, 1995. doi: 10.1109/CBMS.1995.465426. URL https://doi.org/10.1109/CBMS.1995.465426.
- [44]Harold E. Hurst. Long-term storage capacity of reservoirs. Transactions of the American Society of Civil Engineers, 116(1):770–799, 1951. doi: 10.1061/TACEAT.0006518. URL https://doi.org/10.1061/TACEAT.0006518.
- [45]C.-K. Peng, S. V. Buldyrev, S. Havlin, M. Simons, H. E. Stanley, and A. L. Goldberger. Mosaic organization of DNA nucleotides. Physical Review E, 49(2):1685–1689, 1994. doi: 10.1103/PhysRevE.49.1685. URL https://doi.org/10.1103/PhysRevE.49.1685.
- [46]Steven M. Pincus. Approximate entropy as a measure of system complexity. Proceedings of the National Academy of Sciences, 88(6):2297–2301, 1991. doi: 10.1073/pnas.88.6.2297. URL https://doi.org/10.1073/pnas.88.6.2297.
- [47]Joshua S. Richman and J. Randall Moorman. Physiological time-series analysis using approximate entropy and sample entropy. American Journal of Physiology-Heart and Circulatory Physiology, 278(6):H2039–H2049, 2000. doi: 10.1152/ajpheart.2000.278.6.H2039. URL https://doi.org/10.1152/ajpheart.2000.278.6.H2039.
- [48]Christoph Bandt and Bernd Pompe. Permutation entropy: A natural complexity measure for time series. Physical Review Letters, 88(17):174102, 2002. doi: 10.1103/PhysRevLett.88.174102. URL https://doi.org/10.1103/PhysRevLett.88.174102.
- [49]Mostafa Rostaghi and Hamed Azami. Dispersion entropy: A measure for time-series analysis. IEEE Signal Processing Letters, 23(5):610–614, 2016. doi: 10.1109/LSP.2016.2542881. URL https://doi.org/10.1109/LSP.2016.2542881.
- [50]Abraham Lempel and Jacob Ziv. On the complexity of finite sequences. IEEE Transactions on Information Theory, 22(1):75–81, 1976. doi: 10.1109/TIT.1976.1055501. URL https://doi.org/10.1109/TIT.1976.1055501.
- [51]Guido Nolte, Ou Bai, Lewis Wheaton, Zoltan Mari, Sherry Vorbach, and Mark Hallett. Identifying true brain interaction from EEG data using the imaginary part of coherency. Clinical Neurophysiology, 115(10):2292–2307, 2004. doi: 10.1016/j.clinph.2004.04.029. URL https://doi.org/10.1016/j.clinph.2004.04.029.
- [52]Jean-Philippe Lachaux, Eugenio Rodriguez, Jacques Martinerie, and Francisco J. Varela. Measuring phase synchrony in brain signals. Human Brain Mapping, 8(4):194–208, 1999. doi: 10.1002/(SICI)1097-0193(1999)8:4<194::AID-HBM4>3.0.CO;2-C. URL https://doi.org/10.1002/(SICI)1097-0193(1999)8:4%3C194::AID-HBM4%3E3.0.CO;2-C.
- [53]Cornelis J. Stam, Guido Nolte, and Andreas Daffertshofer. Phase lag index: Assessment of functional connectivity from multi channel EEG and MEG with diminished bias from common sources. Human Brain Mapping, 28(11):1178–1193, 2007. doi: 10.1002/hbm.20346. URL https://doi.org/10.1002/hbm.20346.
- [54]Martin Vinck, Robert Oostenveld, Marijn van Wingerden, Francesco Battaglia, and Cyriel M. A. Pennartz. An improved index of phase-synchronization for electrophysiological data in the presence of volume-conduction, noise and sample-size bias. NeuroImage, 55(4):1548–1565, 2011. doi: 10.1016/j.neuroimage.2011.01.055. URL https://doi.org/10.1016/j.neuroimage.2011.01.055.
- [55]Jukka-Pekka Onnela, Jari Saramäki, János Kertész, and Kimmo Kaski. Intensity and coherence of motifs in weighted complex networks. Physical Review E, 71(6):065103, 2005. doi: 10.1103/PhysRevE.71.065103. URL https://doi.org/10.1103/PhysRevE.71.065103.
- [56]Vito Latora and Massimo Marchiori. Efficient behavior of small-world networks. Physical Review Letters, 87(19):198701, 2001. doi: 10.1103/PhysRevLett.87.198701. URL https://doi.org/10.1103/PhysRevLett.87.198701.
- [57]M. E. J. Newman and Michelle Girvan. Finding and evaluating community structure in networks. Physical Review E, 69(2):026113, 2004. doi: 10.1103/PhysRevE.69.026113. URL https://doi.org/10.1103/PhysRevE.69.026113.
- [58]Ingrid Daubechies. Orthonormal bases of compactly supported wavelets. Communications on Pure and Applied Mathematics, 41(7):909–996, 1988. doi: 10.1002/cpa.3160410705. URL https://doi.org/10.1002/cpa.3160410705.
- [59]James F. Kaiser. On a simple algorithm to calculate the energy of a signal. In International Conference on Acoustics, Speech, and Signal Processing, pages 381–384, 1990. doi: 10.1109/ICASSP.1990.115702. URL https://doi.org/10.1109/ICASSP.1990.115702.





