top of page

Music Genre Classification using Spotify API

Music genre classification is a task in machine learning that involves predicting the genre of a song or music track based on audio features.


1. Data Collection:

Spotify API

  • Spotify offers an API that lets you gather song metadata, including genre, artist, and audio features like tempo, key, loudness, and more

2. Data Analysis and Visualization:

Performing univariate and bivariate analysis and plotting the visualization's

3. Data Pre-processing :

Handling missing values, checking for duplicates, encoding categorical variables , feature selection. splitting the datasets

4. Model Building and Evaluation:

Training the model on the train data and evaluating on test data using accuracy as a evaluation metric

5. Model Deployment:

Deploying the best model in order to integrate it with the application.


bottom of page