Code Monkey home page Code Monkey logo

audio-emotion-detection's Introduction

audio-emotion-detection

SENG 474 (Data Mining) Group Project (with Muhammad Ali and Ryley Woodland): A Machine Learning Approach to Emotion Classification

We train two models to learn the underlying emotion present in audio recordings; we train a linear SVM model, and a Linear SVM model with an Radial Basis Function Kernel and PCA dimensionality reduction.

To create the dataset and extract the features yourself, first run create_dataset.py with the Audio_Song_Actors_01-24 and Audio_Speech_Actors_01-24 directories (which can be downloaded at https://zenodo.org/record/1188976#.XKeTlZhKjD4) in the same directory as create_dataset.py. This will create your train and test data in new directories labelled "Train" and "Test" respectively. Then, run ./main.py to run the full pipeline (feature extraction plus training and testing of both models).

We write the features and labels of the train and test set into 4 files: X.txt, X_test.txt, y.txt and y_test.txt.

The libraries used for this project are: numpy 1.16.0, python_speech_features 0.6, sklearn 0.20.3, and librosa 0.6.3.

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.