Giter VIP home page Giter VIP logo

genre-classification-pop-prediction's Introduction

genre-classification-pop-prediction

The objective of this project is to tackle the problem of automatic genre classification of tracks, along with prediction of a song’s popularity. An approach using Machine Learning techniques for the tasks of predicting the popularity of a song, and also to classify the song into genres. Automatic Genre Classification of songs can be achieved, and before a song hits the charts, it’s popularity can be predicted, so that recommendation can be done.

Requirements :

  1. Operating System : Linux based Operating System with Python version >=3.5
  2. Librosa Module : For audio extraction
  3. NumPy : Numerical Python module for data manipulation
  4. Pandas : Data Structures
  5. Keras : Machine learning module built on top of TensorFlow
  6. Sklearn : Machine Learning module scikit-learn
  7. Genre Classification : Audio data obtained from UCI Machine Learning Repository (8000 tracks , 30 seconds each)
  8. Popularity Prediction : Data obtained from Spotify’s Web API (features of each audio track)

Genre Classification : In our approach, we use the python librosa module to extract features of a song from it’s spectrogram. The features we obtain are :

  1. Zero Crossing Rate
  2. Spectral Centroid
  3. Spectral Rolloff
  4. Mel-Frequency Cepstral Coefficient
  5. Chroma Freq.
  6. Tonnetz These features are fed into a classifier which outputs one amonst 8 genres.

Popularity Prediction : Using Spotify Web API, we obtain features of a track such as it’s danceability, energy etc. These are fed into a linear regressor for baseline performace, and then to an MLP classifier.

genre-classification-pop-prediction's People

Contributors

keertank189 avatar

Watchers

James Cloos avatar  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.