Giter VIP home page Giter VIP logo

genetic-algorithm-for-emotion-recognition's Introduction

Genetic-Algorithm-for-feature-subset-selection

Implementation of Genetic Algorithm for finding the best subset of features for emotion detection from an image using the CK+ dataset and Openface toolkit.

Dataset extraction

  • This model was trained on The Extended Cohn-Kanade Dataset (CK+) which is a complete dataset for action unit and emotion-specified expression
  • The images from the dataset were then processed using the OpenFace toolkit to obtain the final dataset
  • Manually included labels to the dataset in order to train the model for the respective emotion

Features implemented

  • Random initialization of population chromosomes
  • Fitness for the individuals (feature subset) was defined using the mean accuracy for classifying emotions
  • Selection methods:
    1. Roulette-wheel selection
    2. Rank-based selection
    3. Tournament selection
  • Crossover methods:
    1. k-point crossover
    2. Uniform crossover
  • Mutation methods:
    1. Bit-swap mutation
    2. Bit-flip mutation
  • Population update methods:
    1. Generational update
    2. Weak-parents update

Models used for training

  • Implemented SVM and Logistic Regression from the sklearn Python library
  • Implemented Neural Network using Keras
  • SVM was found to give the best accuracy with the fastest convergence

genetic-algorithm-for-emotion-recognition's People

Contributors

siddarthgopalakrishnan avatar

Stargazers

Milind Anand avatar

Watchers

 avatar

Forkers

milindanand

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.