zhangruifeng923 / BCICIV2a-FBCSP

Implementation of filter bank common spatial pattern (FBCSP) for MI-based BCI in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BCICIV2a-FBCSP

This work is an implementation of filter-bank common spatial pattern (FBCSP)[1] on BCI Competition IV dataset 2a. While the dataset consist of four class, this work will only use two class which are left and right hand

Result

Early result on train and test data, SVM model is used as classifier, 5-fold CV is used to evaluate model performance

Train Score

5fold_train_result

Test Score

5fold_test_result

Train and Test Score

Subject Train Test
1 89.92% +/- 7.21
2 83.56% +/- 4.42
3 97.42% +/- 3.37

Note : 20220428 There appears to be a mistake in cell 72, when you use it, please fix accordingly

Reference

[1] Kai Keng Ang, Zheng Yang Chin, Haihong Zhang and Cuntai Guan, "Filter Bank Common Spatial Pattern (FBCSP) in Brain-Computer Interface," 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, 2008, pp. 2390-2397, doi: 10.1109/IJCNN.2008.4634130.
[2] Ang, K. K., Chin, Z. Y., Wang, C., Guan, C., & Zhang, H. (2012). Filter Bank Common Spatial Pattern Algorithm on BCI Competition IV Datasets 2a and 2b. Frontiers in Neuroscience, 6. doi: 10.3389/fnins.2012.00039

Milestone

2020.11.02 - Train/test result without hp tuning

Note

Future updates:

  • Evaluate on all 9 subjects
  • Tune hyperparameters

About

Implementation of filter bank common spatial pattern (FBCSP) for MI-based BCI in python


Languages

Language:Jupyter Notebook 100.0%