Giter Club home page Giter Club logo

eegsignalanalysis's Introduction

EEG Signal Analysis

This is a part of my final year project where we try to analyse EEG signals Electroencephlogram, which are recording of the electrical activity of the brain from the scalp.

Brain Activation Map

For this experiment we made use of EMOTIV Epoc+ device to collect EEG signals and get the Brain Activation Map videos for individual subjects.

Requirements

Datasets

  • The EEG signals and Brain Activation Maps were collected using EMOTIV Epoc+ device mentioned above.
  • We collected samples from 13 subjects in which they were shown a list of 25 words and they were supposed to tell whether or not they knew the meaning.The recording of one of the subject was of no use because of too much noise and hence was discarded.
  • Following is the distribution of Training and Test Set.
  • Training Set: Contains 275 instances of 11 subjects who saw 25 word each
  • Test Set: Contains 25 instances of a single subject

Implementation Details

  • In this experiment we used Convolutional Neural Networks(CNNs) and Recurrent Neural Networks(RNNs)
  • The model that we used is taken from: References
  • The images are cropped out of BAM videos for each individual which were each 1:46 min long.
  • FPS is approximately : 19.09 frames per second.
  • there is a 2 second transition period from one word to another.
  • We make use of two models for extracting features from CNNs one is EEG_Model.py in which we train the CNNs from our images as well
  • Other model is EEG_VGG_Model.py where we extract the features from pool5 layer of the popular VGGNet trained on ImageNet
  • The Model is trained for 100 epochs for the first model and 50 epochs the second model.

Performance

First Model:

  • Accuracy: 0.72
  • Precision: 0.75
  • F1_Score: 0.875

Second Model:

  • Accuracy: 0.28
  • One of the major concern over here is that we do not have enough data to train RNNs over a skewed dataset such as ours which is self evident in the second model

TODO

  • Train the model using the images constructed from EEG signals as specified in References.
  • We used the BAM videos from the theta frequency bands only we should incorporate Beta and Alpha Frequency bands as well
  • Develop Context Based Word Familiarity rather than the Unigram approach that we have made use of, make use of N-gram Word Apporach to understand how an individual percieves the meaning of a word

References

License

MIT

eegsignalanalysis's People

Contributors

pprakhar30 avatar paarthneekhara avatar

Watchers

 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.