BCI Online Decoding
Use this skill when moving from offline EEG classification to real-time or pseudo-online BCI.
Inputs
- Sampling rate and streaming system.
- Window length, step size, and prediction target.
- Model and preprocessing pipeline.
- Feedback and decision rule.
Workflow
- Define online constraints: latency, window length, update rate, and hardware.
- Specify causal preprocessing that uses only past and current samples.
- Define calibration and model loading.
- Design smoothing, confidence thresholds, rejection class, or majority voting.
- Track online metrics: accuracy, latency, false positives, time-to-decision, ITR, and user fatigue.
- Separate offline, pseudo-online, and real online results.
Hard Constraints
- Do not use future samples in online filters or features.
- Do not tune thresholds on online test data.
- Do not present offline accuracy as online performance.
- Do not ignore latency and user feedback timing.
Output
Online decoding architecture:
Windowing plan:
Causal preprocessing:
Decision rule:
Latency budget:
Online metrics:
Offline-online gap:
Deployment risks: