Coder Social home page Coder Social logo

shrey-soni / music-genre-classification-and-recommender-system Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 758 KB

A ML approach to find genre of a given song file and to recommend similar songs in the same dataset.

Jupyter Notebook 100.00%
music-genre-classification song dataset gtzan-dataset gtzan mir recommender-system

music-genre-classification-and-recommender-system's Introduction

Music-Genre-Classification-and-Recommendation.

A ML approach to find genre of a given song file and to recommend similar songs in the same dataset.

Requirements:

  1. GTZAN Dataset. Link. This dataset contains 100 songs of 10 genres each.
  2. Libraries: numpy, pandas, sklearn, librosa, matplotlib, seaborn and ipython.display.

Walk through:

The code base is written in a kaggle notebook, you create a new notebook and start working on the same just by clicking on the dataset link provided above.

There are also no need for feature extraction from all of the audio files to a dataframe, a has already been uploaded so you just need to classify the songs according to the genre by applying the algorithm you like.

If you have some time to kill and don't fear about putting your hands into one of the deepest trench of MIR (Music Infromation Retreival) you can always got to this link, and understand how this feature extraction is taking place on the first hand.

As the file names says:

First open the Exploring-Visualizing.ipynb to learn about the dataset you are working on.

Then get to know how we are using XGBoost to classify the songs in Classification.ipynb.

And lastly you will understand how cosine_similarity works for music recommendations in Recommender-System.ipynb.

music-genre-classification-and-recommender-system's People

Contributors

shrey-soni avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

peichunpclin

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.