Bayesian Optimization of Parameters for Ocular Artifact Detection and Removal, and Classification of 4-class motor-imagery EEG data.
- Anaconda 2.7 python packages (recommended)
- mne
- protobuf
- skll
or
- Python 2.7
- SciPy
- NumPy
- Scikit-Learn
- mne
- protobuf
- skll
Refer to the installation guide of each dependency.
-
Install spearmint:
sudo python d606/spearmint/setup.py install
-
Get the data: Download the dataset (001-2014), then create a folder called 'matfiles' and move the .mat files there.
Optimize hyperparameters:
python d606/optimizeparams.py
Evaluate:
python d606/main.py [subject]