All Projects → pbashivan → Eeglearn

pbashivan / Eeglearn

Licence: gpl-2.0
A set of functions for supervised feature learning/classification of mental states from EEG based on "EEG images" idea.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Eeglearn

Tensorflow 101
TensorFlow Tutorials
Stars: ✭ 2,565 (+446.91%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Braindecode
Outdated, see new https://github.com/braindecode/braindecode
Stars: ✭ 284 (-39.45%)
Mutual labels:  convolutional-neural-networks, eeg
Mead Baseline
Deep-Learning Model Exploration and Development for NLP
Stars: ✭ 238 (-49.25%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Deep Learning With Python
Deep learning codes and projects using Python
Stars: ✭ 195 (-58.42%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Rmdl
RMDL: Random Multimodel Deep Learning for Classification
Stars: ✭ 375 (-20.04%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Iseebetter
iSeeBetter: Spatio-Temporal Video Super Resolution using Recurrent-Generative Back-Projection Networks | Python3 | PyTorch | GANs | CNNs | ResNets | RNNs | Published in Springer Journal of Computational Visual Media, September 2020, Tsinghua University Press
Stars: ✭ 202 (-56.93%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Easy Tensorflow
Simple and comprehensive tutorials in TensorFlow
Stars: ✭ 2,871 (+512.15%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Brain.js
brain.js is a GPU accelerated library for Neural Networks written in JavaScript.
Stars: ✭ 12,358 (+2534.97%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Keras Anomaly Detection
Anomaly detection implemented in Keras
Stars: ✭ 335 (-28.57%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Zhihu
This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
Stars: ✭ 3,307 (+605.12%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Keras English Resume Parser And Analyzer
keras project that parses and analyze english resumes
Stars: ✭ 192 (-59.06%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Text Classification Models Pytorch
Implementation of State-of-the-art Text Classification Models in Pytorch
Stars: ✭ 379 (-19.19%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Coursera Deep Learning Specialization
Notes, programming assignments and quizzes from all courses within the Coursera Deep Learning specialization offered by deeplearning.ai: (i) Neural Networks and Deep Learning; (ii) Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization; (iii) Structuring Machine Learning Projects; (iv) Convolutional Neural Networks; (v) Sequence Models
Stars: ✭ 188 (-59.91%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Im2latex Tensorflow
Tensorflow implementation of the HarvardNLP paper - What You Get Is What You See: A Visual Markup Decompiler (https://arxiv.org/pdf/1609.04938v1.pdf)
Stars: ✭ 207 (-55.86%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Hdltex
HDLTex: Hierarchical Deep Learning for Text Classification
Stars: ✭ 191 (-59.28%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Awesome Tensorlayer
A curated list of dedicated resources and applications
Stars: ✭ 248 (-47.12%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Image Caption Generator
[DEPRECATED] A Neural Network based generative model for captioning images using Tensorflow
Stars: ✭ 141 (-69.94%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Tfvos
Semi-Supervised Video Object Segmentation (VOS) with Tensorflow. Includes implementation of *MaskRNN: Instance Level Video Object Segmentation (NIPS 2017)* as part of the NIPS Paper Implementation Challenge.
Stars: ✭ 151 (-67.8%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
Komputation
Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.
Stars: ✭ 295 (-37.1%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks
First Steps Towards Deep Learning
This is an open sourced book on deep learning.
Stars: ✭ 376 (-19.83%)
Mutual labels:  convolutional-neural-networks, recurrent-neural-networks

EEGLearn

A set of functions for supervised feature learning/classification of mental states from EEG based on "EEG images". This code can be used to construct sequence of images (EEG movie snippets) from ongoing EEG activities and to classify between different cognitive states through recurrent-convolutional neural nets. More generally it could be used to discover patterns in multi-channel timeseries recordings with known spatial relationship between sensors. Each color channel in the output image can contains values for a specific features computed for all sensors within a time window.

alt text

Installation and Dependencies

In order to run this code you need to install the following modules:

Numpy and Scipy (http://www.scipy.org/install.html)

Scikit-Learn (http://scikit-learn.org/stable/install.html)

Theano (http://deeplearning.net/software/theano/install.html)

Lasagne (http://lasagne.readthedocs.org/en/latest/user/installation.html)

pip install -r requirements.txt

pip install [path_to_EEGLearn]

You can use the package in your code:

import eeglearn
import eeglearn.eeg_cnn_lib as eeglib

images = eeglib.gen_images(locs, features, nGridPoints)
eeglib.train(images, labels, train_test_fold, model_type)

Some Notes:

  1. When using the images to train a neural network, in many cases it is helpful to scale the values in the images to a symmetric range like [-0.5, 0.5].
  2. Images generated with gen_images function appear in the center of the field with unused space around them. This causes edges to appear around the images. To get around this, an edgeless option was added to gen_images function but I never systematically tried it to evaluate potential gains in performance.

Tensorflow implementation can be found here (thanks to @YangWangsky):

https://github.com/YangWangsky/tf_EEGLearn

PyTorch implementation (thanks to @VDelv):

https://github.com/VDelv/EEGLearn-Pytorch

Reference

If you are using this code please cite our paper.

Bashivan, et al. "Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks." International conference on learning representations (2016).

http://arxiv.org/abs/1511.06448

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].