Code Monkey home page Code Monkey logo

bciciv2a-fbcsp's Introduction

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 94.83 %
2 83.56% +/- 4.42 88.79 %
3 97.42% +/- 3.37 98.28 %

Note : Test result looks suspiciously high, if you guys found something incorrect please open an issue.
I only did for three subjects, but you can extend the result to all nine subjects, the data are there.

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
2024.01.04 - Just general maintenance, fix some stuff, add requirements, dockerfile, devcontainer

Datasets

I included the datasets, which was originally here https://github.com/bregydoc/bcidatasetIV2a
The datasets is IV2a, the description is here https://www.bbci.de/competition/iv/desc_2a.pdf
This is link to BCI Competition IV https://www.bbci.de/competition/iv/ which contains above page

Note

Future updates (probably...):

  • Evaluate on all 9 subjects
  • Tune hyperparameters

bciciv2a-fbcsp's People

Contributors

orvindemsy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.