Skip to content

hkolatan/Exploring_Music_Classification_with_Spotify_API

Repository files navigation

Exploring Music Classification with Spotify API

Tools

Overview

This project aims to classify music genres using machine learning algorithms. The goal is to build a model that can accurately predict the mood of a given piece of music based on audio features. The dataset used for this project is obtained from the Spotify API, which provides a wide range of audio features for each track.

The project is divided into the following main steps:

  1. Data Collection: Retrieving audio features and track information using the Spotify API and storing them in a SQL database.
  2. Data Analysis: Exploratory data analysis to understand the distribution and relationships of the audio features.
  3. Model Selection: Creating and training machine learning models to classify music genres based on the audio features.
  4. Model Evaluation: Evaluating the performance of the trained models using various metrics.
  5. Web Application: Creating a Streamlit web application to interactively predict the genre of a user-provided music track.

API Structure

Tools

Tools Used

Tools

Streamlit

To showcase the genre prediction model, we developed an interactive web application using Streamlit. This web application allows users to input audio features of a music track and the model predicts the most likely class (active/relax) for the given track. Users can enter specific numerical ranges for attributes such as energy, acousticity, instrumentality and tempo to filter and discover songs that match their criteria. It also includes a recommendation system. Click the link to Discover.

Screenshot

Tools

License

This project is licensed under the MIT License.

Contributors

Muhammed Maral
Halil Kolatan
Pınar Yıldız

Contact

Please feel free to contact the project team for any questions or feedback.

About

This project aims to classify music genres using machine learning algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published