Documentation Index
Fetch the complete documentation index at: https://docs.nimbusbci.com/llms.txt
Use this file to discover all available pages before exploring further.
Advanced BCI Applications
This page summarizes advanced BCI patterns without duplicating full SDK walkthroughs. Use it as an implementation checklist, then follow the linked SDK guides for exact APIs.For Python-specific streaming and sklearn patterns, see Python Streaming Inference and sklearn Integration. For Julia streaming, see Julia Streaming Inference.
Cross-Subject Training
Cross-subject models combine calibration data from multiple users and then adapt to a new user with a small amount of labeled data. Core workflow:- Extract the same feature type for every subject.
- Normalize using training subjects only.
- Train a conservative baseline model.
- Evaluate with subject-wise splits, not random trial splits.
- Personalize with a small calibration set for the target subject.
- Python
- Julia
Hybrid BCI
Hybrid BCIs combine evidence from multiple paradigms, such as motor imagery plus P300. Recommended pattern:- Keep one model per paradigm.
- Normalize each feature family separately.
- Combine posterior probabilities or confidence-weighted decisions.
- Log disagreement between paradigms for later review.
Continuous Control
Continuous control maps repeated predictions into a smoothed command stream.Adaptive Learning
Adaptation is useful when signal distributions drift during long sessions or across days. Choose the adaptation mechanism by feedback type:| Feedback Available | Pattern |
|---|---|
| Immediate labels | partial_fit or retraining on recent labeled trials. |
| Delayed labels | Buffer predictions and update when labels arrive. |
| No labels | Use active learning or calibration sufficiency checks. |
| Non-stationary state | Use NimbusSTS in Python. |
Multi-Session Experiments
For experiments that span days or weeks:- Use a stable preprocessing pipeline and save its parameters.
- Save normalization parameters with each trained model.
- Track hardware, montage, impedance, session time, and participant state.
- Evaluate same-session and cross-session performance separately.
- Compare adaptation against a no-adaptation baseline.
Robust Deployment
Production systems should separate classification, control, and safety policy:- Classifier returns prediction, posterior, and confidence.
- Quality gate accepts, rejects, or asks for confirmation.
- Control layer maps accepted predictions to actions.
- Monitoring logs confidence, latency, rejection rate, and drift.
Next Read
Basic Examples
Compact starter recipes.
Model Specification
Compare models before choosing an architecture.
Python Active Learning
Query strategy and calibration stopping guidance.
Streaming Configuration
Chunking and aggregation decisions.