Skip to content

Praanesh1/Genre-based-Music-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Genre-based-Music-Classification

A basic Machine Learning model with Jupyter framework which analyzes the given sample and recognizes its genre.

Genre-Classification

A music genre is basically categorization of pieces of music.It is to be distinguished from musical form and musical style.

Music can be divided into genres in varying ways, such as into pop music, jazz music, metal music, hip hop music, blues music and so on. The artistic nature of music means that these classifications are often subjective. So few genres may overlap.

The motive of this project

This is an open-source project, in which we have gathered data and predict the genre of a given music sample. We are predicting the genre of a song based on certain parameters in prominent datasets found online.This simple ML Model can be developed further and can be applied into different music based softwares.

By further developing this model, the music based softwares can analyze the user preferences and create a user friendly interface.

Application deployment platform: Google Colab

Colab is a free Jupyter notebook environment that runs entirely in the cloud. Most importantly, it does not require a setup and the notebooks that you create can be simultaneously edited by your team members - just the way you edit documents in Google Docs. Colab supports many popular machine learning libraries which can be easily loaded in your notebook.

Prerequisites

⚙Underlying tools:

Visual Studio code (or) Google Colab (or) Jupyter notebook.

📃Algorithms:

KNN (K-Nearest Neighbor) algorithm

The K-Nearest Neighbors (KNN) algorithm is a simple, easy-to-implement supervised machine learning algorithm that can be used to solve both classification and regression problems.

Instructions

  1. Download the source dataset and test set from the links given below.
  2. Open the .ipynb file in Google colab (or) Visual studio code
  3. Install necessary libraries if they aren't present already.
  4. Mention the dataset and testset file adresses in the required places.

Resources

1)Source dataset: https://www.kaggle.com/andradaolteanu/gtzan-dataset-music-genre-classification

2)Test dataset: https://uweb.engr.arizona.edu/~429rns/audiofiles/audiofiles.html

References

https://www.researchgate.net/publication/337001430_Machine_Learning_for_Music_Genre_Classification

https://towardsdatascience.com/machine-learning-basics-with-the-k-nearest-neighbors-algorithm-6a6e71d01761

https://www.javatpoint.com/k-nearest-neighbor-algorithm-for-machine-learning

https://www.youtube.com/watch?v=Pqo9o0286Qs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published