eeg-feature-engineering-bci
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "eeg-feature-engineering-bci" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-80f51664a271c2bde5da9397aaad1e1fa5c5d02d901d171581366b92f4dd665c. Verify the upstream source and version against https://github.com/Drchronx/ai-agent-research-starter-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Create feature-engineering pipelines for EEG/BCI, covering bandpower, power spectral density (PSD), event-related potentials (ERP), common spatial patterns (CSP), filter-bank CSP (FBCSP), Riemann covariance features, connectivity features, time-window features, normalization and feature scaling, and support feature extraction inside cross-validation.
Introduction source: third_party · Drchronx · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Create EEG/BCI feature-engineering plans. Use for band power, PSD, ERP features, CSP, FBCSP, Riemannian covariance features, connectivity features, time-window features, normalization, feature scaling, and feature extraction inside cross-validation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Cleaned EEG or epochs. Task type: motor imagery, P300, SSVEP, workload, emotion, attention, neuromarketing, or HCI. Frequency bands, time windows, channels, and labels. Evaluation design.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Do not fit feature selection or normalization on the full dataset before cross-validation. Do not choose windows after inspecting test performance. Do not use future samples in online or pseudo-online features. Do not report feature importance as neural mechanism without caution.
- Testing
- Not tested
Browse files
Frontmatter
name: eeg-feature-engineering-bci
description: "Create EEG/BCI feature-engineering plans. Use for band power, PSD, ERP features, CSP, FBCSP, Riemannian covariance features, connectivity features, time-window features, normalization, feature scaling, and feature extraction inside cross-validation."EEG Feature Engineering For BCI
Use this skill when converting EEG trials or windows into model-ready features.
Inputs
- Cleaned EEG or epochs.
- Task type: motor imagery, P300, SSVEP, workload, emotion, attention, neuromarketing, or HCI.
- Frequency bands, time windows, channels, and labels.
- Evaluation design.
Workflow
- Choose features based on task physiology and timing.
- Define windows and channels before seeing model performance.
- Extract baseline features: time-domain statistics, band power, PSD, ERP amplitude/latency.
- Add BCI features when relevant: CSP, FBCSP, Riemannian covariance, connectivity.
- Fit scaling, feature selection, CSP, PCA, or normalization only on training folds.
- Export feature matrix with subject/session/trial metadata.
Hard Constraints
- Do not fit feature selection or normalization on the full dataset before cross-validation.
- Do not choose windows after inspecting test performance.
- Do not use future samples in online or pseudo-online features.
- Do not report feature importance as neural mechanism without caution.
Output
Feature set:
Window and channel plan:
Training-fold-only transforms:
Feature matrix schema:
Baseline features:
Advanced features:
Leakage audit:Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对EEG/BCI特征工程这一明确且高频的科研与工程需求,提供了系统化的解决方案
- 覆盖了从基础特征(带通功率、PSD、ERP)到高级特征(CSP、FBCSP、黎曼协方差、连接性)的完整流程
- 强调了交叉验证内部进行特征提取的关键约束,避免数据泄露,提升模型可靠性
Highlights
- 触发描述精准完整,明确指出了适用场景(转换EEG trials或windows为模型就绪特征)
- 详细列出了输入(清洗后的EEG、任务类型、频带、时间窗等)和输出(特征集、窗和通道计划等),边界清晰
- 涵盖了多种BCI任务类型(运动想象、P300、SSVEP等),适用面广
Highlights
- 结构清晰,分Inputs、Workflow、Hard Constraints、Output四个主要部分,逻辑性强
- Workflow步骤明确,从选择特征到导出特征矩阵,流程完整
- Hard Constraints部分列出了关键的数据泄露防范措施,体现了专业性
- Output部分提供了结构化的输出格式,便于用户理解和使用
Areas to improve
-
缺少具体工具库依赖说明 Reported severity: Minor
Skill 描述了多种特征工程方法,但未提及实现这些方法所需的具体Python库(如MNE-Python, scikit-learn, pyriemann等)及其版本要求。
Recommendation: 建议在文档或代码中补充必要的依赖库列表,以确保用户能够顺利复现和执行特征工程流程。
Highlights
- 强调了仅在训练折叠上拟合缩放、特征选择、CSP等变换,这是避免数据泄露的关键最佳实践
- 明确指出不要使用未来样本,这对于在线或伪在线应用至关重要
- 提供了特征矩阵的schema和泄漏审计,有助于确保结果的可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.