Repository navigation
Add standalone CognitiveTask paradigm for cued cognitive tasks - #1246
Merged
bruAristimunha merged 3 commits intoOct 13, 2026
Merged
bruAristimunha merged 3 commits into
bruAristimunha merged 3 commits into
Conversation
N-class cued cognitive task paradigm subclassing BaseParadigm directly (not MotorImagery): handwriting/stroke imagery, mental arithmetic, rotation, word generation, music imagery. Follows the Cued Cognitive Tasks branch of NeuroTechX#1056. Valid on both paradigm=cognitive and the existing paradigm=imagery tag so current loaders (e.g. Wang2026Handwriting) work today. 8-32 Hz defaults match MotorImagery; roc_auc for 2 classes else accuracy. Includes FakeCognitiveParadigm, dataset_search allowlist, schema doc, API docs, whats_new, and TestCognitiveTask (5 tests).
P1: 24-dash api.rst underline; wire cognitive into neural-signature handlers/factory, bubble-plot colormap (tab10-6), metadata allowlists. Remove self.n_classes mutation in used_events (stateless). P2: rename overlap->n_overlap; empty-events ValueError; document transitional double-scan; FakeCognitive uses subtraction/rest. Flip Shin2017B: BaseShin2017 paradigm=cognitive when MA-only, METADATA + detected_paradigm=cognitive, docstring, move row to new summary_cognitive.csv, base.py table, api.rst + dataset_summary.rst sections, whats_new. MotorImagery no longer valid on Shin2017B; CognitiveTask valid; dataset_search(cognitive)=[Shin2017B].
bruAristimunha
force-pushed
the
feat/cognitive-task-paradigm
branch
from
October 13, 2026 15:58
6056674 to
a00937f
Compare
10-letter executed writing task joins Shin2017B under paradigm=cognitive, mixed use allowed per maintainer go. Loader + METADATA + detected_paradigm, docstring, move summary row imagery->cognitive, api.rst listing, whats_new. CognitiveTask valid (10/10), MotorImagery no longer valid; search returns both cognitive datasets.
This was referenced Oct 14, 2026
bruAristimunha
added a commit
to bruAristimunha/moabb
that referenced
this pull request
Oct 14, 2026
PR link checks went red on dataia.eu 500 and GitHub 503 (NeuroTechX#1242, NeuroTechX#1246, NeuroTechX#1247), not on dead links. Accept 500/502/503/504; 404/410/DNS still fail. Closes the stale weekly reports NeuroTechX#1031 and NeuroTechX#1131.
bruAristimunha
added a commit
that referenced
this pull request
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standalone N-class cued cognitive task paradigm subclassing BaseParadigm directly (not MotorImagery): handwriting/stroke imagery, mental arithmetic, rotation, word generation, music imagery. Follows the Cued Cognitive Tasks branch of #1056 (jarod1212), distinct from motor imagery (ERD/ERS) and evoked ERP/P300.