Code Monkey home page Code Monkey logo

-continuous-convolutional-neural-network-with-3d-input-for-eeg-based-emotion-recognition's Introduction

Code for ICONIP 2018 submission

This repository contains the tensorflow implementation for our ICONIP-2018 paper: "Continuous Convolutional Neural Network with 3D Input for EEG-Based Emotion Recognition"

About the paper

Instructions

  • Before running the code, please download the DEAP dataset, unzip it and place it into the right directory. The dataset can be found here.
  • Please run the get_1D_data.py to compute the Differential Entropy for each original .mat file. DE features of each .mat file will be stored in 1D_dataset folder.
  • 1D_to_3D.py is used to transform the 1-dimentional data into 3-dimentional format, which will be used to train the proposed model.
  • Using cnn.py to train and test the model (10-fold cross-validation), result of each fold will be saved in a .xls file (you can find these .xls files in ./result folder).
  • count_accuracy.py is used to summarize the final accuracy of the model. The generated .xls files can be found in ./result/summary folder.

Requirements

  • Pyhton 3
  • scipy
  • numpy
  • pandas
  • sk-learn
  • tensorflow (1.4 version)
  • import xlrd
  • import xlwt

If you have any questions, please contact [email protected]

-continuous-convolutional-neural-network-with-3d-input-for-eeg-based-emotion-recognition's People

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.