Skip to content
cccskills
FreePublished on GitHub

braindecode

Routes EEG, ECoG, MEG, and related electrophysiology deep-learning workflows through the braindecode Python package, including dataset construction, preprocessing, model training, augmentation, and interpretation.

The English summary is being prepared. Showing the original description.

See how to install

Files included (34)

  • SKILL.md3.9 KB
  • references/api-reference.md2.7 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json320 B
  • references/troubleshooting.md2.5 KB
  • scripts/check_env.py1.9 KB
  • sub-skills/augmentation-and-sampling/references/api-reference.md933 B
  • sub-skills/augmentation-and-sampling/references/sampling-workflows.md1.1 KB
  • sub-skills/augmentation-and-sampling/references/troubleshooting.md1.1 KB
  • sub-skills/augmentation-and-sampling/scripts/smoke_augmentation.py1.5 KB
  • sub-skills/augmentation-and-sampling/SKILL.md1.7 KB
  • sub-skills/datasets-and-windowing/references/api-reference.md1.8 KB
  • sub-skills/datasets-and-windowing/references/optional-integrations.md1.0 KB
  • sub-skills/datasets-and-windowing/references/troubleshooting.md1.4 KB
  • sub-skills/datasets-and-windowing/references/workflows.md1.5 KB
  • sub-skills/datasets-and-windowing/scripts/smoke_dataset.py1.3 KB
  • sub-skills/datasets-and-windowing/SKILL.md1.9 KB
  • sub-skills/interpretation-and-visualization/references/api-reference.md896 B
  • sub-skills/interpretation-and-visualization/references/troubleshooting.md1.2 KB
  • sub-skills/interpretation-and-visualization/references/workflows.md957 B
  • sub-skills/interpretation-and-visualization/scripts/smoke_interpretation.py1.2 KB
  • sub-skills/interpretation-and-visualization/SKILL.md1.7 KB
  • sub-skills/models-and-training/references/api-reference.md1.5 KB
  • sub-skills/models-and-training/references/model-overview.md1.5 KB
  • sub-skills/models-and-training/references/pretrained-models.md1.3 KB
  • sub-skills/models-and-training/references/training-workflows.md1.6 KB
  • sub-skills/models-and-training/references/troubleshooting.md1.5 KB
  • sub-skills/models-and-training/scripts/smoke_train.py1.6 KB
  • sub-skills/models-and-training/SKILL.md2.0 KB
  • sub-skills/preprocessing/references/api-reference.md889 B
  • sub-skills/preprocessing/references/troubleshooting.md1.3 KB
  • sub-skills/preprocessing/references/workflows.md1.0 KB
  • sub-skills/preprocessing/scripts/smoke_preprocess.py1.3 KB
  • sub-skills/preprocessing/SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Braindecode

Use this skill when a task names braindecode, or asks for deep learning on EEG, ECoG, MEG, or similar electrophysiological recordings with MNE-shaped objects, windowed datasets, skorch wrappers, or Braindecode model families.

Operating sequence

  1. Establish the input signal contract: channels, sampling frequency, units, recording/epoch layout, targets, and whether data are local or need a network-backed dataset.

  2. Install PyTorch first, then braindecode; add only the optional extras that the selected workflow needs. The minimal check is:

    import braindecode, torch
    print(braindecode.__version__, torch.__version__)
    print(torch.cuda.is_available())  # acceleration probe only
    
  3. Route to exactly one primary workflow below. Workflows commonly compose in this order: datasets and windowing -> preprocessing -> models and training; add augmentation or interpretation only when requested.

  4. Keep units and preprocessing identical between training and inference. Never infer a model's final temporal shape from the model name; use its signal parameters and a tiny forward check.

  5. Treat MOABB, BIDS/OpenNeuro, TUH, Sleep Physionet, Hugging Face Hub, EEGPrep, and pretrained checkpoints as optional integrations requiring their own dependencies, data, network, credentials, or storage.

Focused routes

  • Datasets and windows: Construct datasets from NumPy/MNE objects, attach descriptions and targets, create event/fixed/target-channel windows, split, concatenate, or serialize data. Read datasets-and-windowing.
  • Preprocessing: Apply MNE-backed or array-backed preprocessors, filters, resampling, channel operations, scaling, windowing order, parallel execution, or serialized preprocessing. Read preprocessing.
  • Models and training: Select/configure a model, infer signal parameters, train EEGClassifier/EEGRegressor, use cropped decoding, score/predict, or load a local/pretrained model. Read models-and-training.
  • Augmentation and sampling: Compose signal transforms, use AugmentedDataLoader, or construct sequence, relative-positioning, or self-supervised samplers. Read augmentation-and-sampling.
  • Interpretation and visualization: Compute Captum attributions, frequency gradients, topomaps, confusion/metric plots, or sanity checks. Read interpretation-and-visualization.

Shared guardrails

  • Use float32 tensors shaped (batch, channels, time) unless a selected model explicitly documents another shape. Preserve channel order and sampling rate.
  • Split by subject/session before overlapping windows when evaluating generalization. Do not leak windows from the same recording across splits.
  • Keep runtime scripts self-contained and local-data-only by default. Do not run long gallery examples, download datasets, upload private recordings, or log in to a model/data Hub without explicit authorization.
  • For missing optional integrations, report the exact extra or package and continue with a local synthetic fixture where behavior is equivalent.
  • Read API reference for the verified public surface, troubleshooting for cross-cutting failures, and provenance before deciding whether this graph is stale for a checkout.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill