技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
moabb【数据与研究】Guide MOABB EEG and BCI benchmarking workflows: choose datasets, configure paradigms and sklearn pipelines, run leakage-aware evaluations, and analyze reproducible results.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
MOABB (Mother of All BCI Benchmarks) is a Python framework for reproducible EEG brain-computer-interface experiments. Use this skill when a task involves MOABB dataset classes, MNE Raw/Epochs, motor imagery, P300/ERP, SSVEP, c-VEP, scikit-learn pipelines, cross-session or cross-subject scores, benchmark result stores, or MOABB analysis plots.
Use a supported Python environment (the package metadata for this snapshot requires Python 3.11 or newer), then install the base distribution:
python -m pip install moabb
python -c "import moabb; print(moabb.__version__)"
The base install includes the core MNE, mne-bids, NumPy/SciPy, pandas,
scikit-learn, pyRiemann, YAML, and data-access dependencies used by the routes
below. Optional extras are deliberate: moabb[deeplearning], moabb[optuna],
moabb[interactive], and moabb[carbonemission] add separate capability
surfaces; do not install them merely to make a core CPU workflow work. Read
API overview for the public object graph and
troubleshooting before changing an
installation or enabling network data access. Run
scripts/check_environment.py for a read-only
import and optional-dependency diagnosis; use its --optional flag only when
checking optional integrations.
Results, chance levels, paired statistics, score or
distribution plots, timelines, or analysis reports: read
analysis-and-visualization.Most end-to-end tasks use several routes in this order: dataset → paradigm and pipeline → evaluation → analysis. Keep each boundary explicit so a score's generalization claim and preprocessing information budget remain auditable.
FakeDataset or a caller-provided local/BIDS root for API and
shape checks. A real dataset's data_path()/get_data() can download files;
ask for network, license, storage, and time approval before using it.X.shape, y, metadata,
channel names, sampling rate, and the selected scorer before fitting.random_state fixed and n_jobs=1; use unique result/cache paths
and overwrite=False. Increase data, workers, and optional features only
after the tiny path is correct.The root diagnostic is linked above. For offline workflow checks, use the helpers linked by each sub-skill: they create only synthetic data or temporary caller-owned output and never download a dataset.
Read repository provenance before applying this skill to a checkout or deciding whether to refresh it. This graph was extracted from a specific MOABB revision; public dataset catalogs, signatures, optional dependencies, and evaluation behavior can change. Refresh when the source revision, package version, public imports, or major evidence paths change.