Git Product home page Git Product logo

eegchannelreduction's Introduction

EEG Channel Reduction

Dimensionality reduction for electroencephalography data to train deep learning models for motor imagery classification.

In this project, we explored the viability of various data reduction techniques applied to EEG data such as PCA, kPCA, LSTM autoencoders, and channel selection. Much of this code needs tweaking if you'd like to get everything up and running yourself, but there is a sample program that's available to try things out. This sample program loads a couple of our pretrained models and gathers accuracy on a subset of test data taken from a larger test set called the High Gamma Dataset. See our paper, hopefully coming soon, for more information on what we explored.

Installation and Setup

This code requires conda, if you'd like the easiest setup, but you're welcome to use anything else so long as you follow the requirements outlined in the environment.yml file.

To get everything up and running, download what you need from this repo, then execute:

$ conda create -f environment.yml

After installing all necessary dependencies, activate your environment and run the sample script in /code/:

$ python run_sample_program.py

This sample program runs several of our pre-trained models with various forms of data reduction. Our most successful form of reduction so far has been in reducing the original 128 channels to 15 channels close to the parietal lobe and, more specifically, the sensorimotor cortex. There's still quite a bit of exploration to do, and more formal results will be released soon.

Questions

Feel free to direct any comments, questions, or requests to [email protected]. This is a work in progress to make more accessible, and it won't be at the top of my list for a little while.

eegchannelreduction's People

Contributors

sorenjmadsen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.