Documentation
Setup, usage guide, and API reference for the BCI Classifier system.
Getting Started
Installation
# Clone repository
git clone https://github.com/Shaheer2492/BCI-Classifer.git
cd BCI-Classifer
# Create environment
python -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
Key Scripts
API Reference
PhysionetMIGroundTruthGenerator
Main class for generating ground truth labels.
n_subjects(int): Number of subjects (default 109).generate_all_labels(output_path): Runs the pipeline.
EarlyTrialFeatureExtractor
Extracts features from subsets of data.
n_early_trials(int): Number of trials to use for prediction.extract_subject_features(subject_id): Returns 23-dim feature vector.
Troubleshooting
- Dataset Download: Validates internet connection for 2.5GB Physionet download.
- Memory: Processing all 109 subjects usually takes 1-2 hours.
- Viz: Ensure
prediction_server.pyis running before opening the Interface.