Giter Site home page Giter Site logo

sota-of-p300-detection-in-bci-competitions-ii-iii's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Cascade xDAWN EEGNet for ERP Detection

Getting Started

Prepare Datasets (BCI Competition II and III)

  1. Download Data set IIb: ‹P300 speller paradigm› and Data set II: ‹P300 speller paradigm›. Dataset IIb only contains one subject, while dataset II has two subjects (A and B).
  2. Download the true label of tests sets of dataset IIa and the true label of tests sets of dataset II ( A and B). I have downloaded those labels of test sets and put them in the folder.
  3. Put those true labels into the root directory of the downloaded dataset, respectively.

Requriments

  • pytorch
  • mne
  • pyriemann
  • sklearn
  • visdom

Usage

  1. Change src_path and root in main.py
  2. Run visdom in the console.
   visdom
  1. Run main.py in the console.
   python main.py

The softmax with temperature $t$ was used to get the probability of the model's output logits in this project. The larger $t$ is, the lower the confidence level of the model and the smoother the output. $$p_{i} = \frac{exp(z_{i}/t)}{\sum_{j}{exp(z_{j}/t)}}$$

License

Distributed under the MIT License. See LICENSE.txt for more information.

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.