技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
Establish the input signal contract: channels, sampling frequency, units, recording/epoch layout, targets, and whether data are local or need a network-backed dataset.
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
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.
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.
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.
EEGClassifier/EEGRegressor, use cropped decoding, score/predict, or
load a local/pretrained model. Read
models-and-training.AugmentedDataLoader, or construct sequence, relative-positioning, or
self-supervised samplers. Read
augmentation-and-sampling.(batch, channels, time) unless a selected model
explicitly documents another shape. Preserve channel order and sampling rate.