A Modular Music Recommendation System using Unsupervised Learning and Spotify API Integration

This is a Python-based music suggestion system that utilizes machine learning algorithms combined with the Spotify API for aiding in song selection. It takes data inputs based on a list of songs, including name and year, from the users, and then combines it with Spotify's given metadata or audio feature. It makes use of K-Means clustering algorithm to group songs according to their numerical attributes like danceability, energy, and tempo, scaled with standard scaler. Dimensionality reduction techniques such as Principal Component Analysis (PCA) and t-Distributed Stochastic Neighbor Embedding (t-SNE) plot clusters in 2D. When a user requests a recommendation, the system computes a mean vector from the list of tracks given, computes the cosine distances to other tracks, and returns the closest tracks. The whole system is modular and can deal with the visualizations of clusters and edge cases like where a song does not exist in the dataset or library at Spotify. This integrates unsupervised learning, feature engineering, and interaction with real-time APIs to deliver a robust experience in recommending music.

Authors

Institutions

Publication Details

Published
2025-03-19
DOI
https://doi.org/10.1109/iciccs65191.2025.10985648
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Modular Music Recommendation System using Unsupervised Learning and Spotify API Integration

V. Baby Shalini, S M Vedha Varshini, Rajkumar Pandiarajan, K Brundha et al.
Music and Audio Processing
article

A Modular Music Recommendation System using Unsupervised Learning and Spotify API Integration

V. Baby Shalini, S M Vedha Varshini, Rajkumar Pandiarajan, K Brundha, P Rishikumar, N Vaishnavy
article en

Abstract

This is a Python-based music suggestion system that utilizes machine learning algorithms combined with the Spotify API for aiding in song selection. It takes data inputs based on a list of songs, including name and year, from the users, and then combines it with Spotify's given metadata or audio feature. It makes use of K-Means clustering algorithm to group songs according to their numerical attributes like danceability, energy, and tempo, scaled with standard scaler. Dimensionality reduction techniques such as Principal Component Analysis (PCA) and t-Distributed Stochastic Neighbor Embedding (t-SNE) plot clusters in 2D. When a user requests a recommendation, the system computes a mean vector from the list of tracks given, computes the cosine distances to other tracks, and returns the closest tracks. The whole system is modular and can deal with the visualizations of clusters and edge cases like where a song does not exist in the dataset or library at Spotify. This integrates unsupervised learning, feature engineering, and interaction with real-time APIs to deliver a robust experience in recommending music.

Kalasalingam Academy of Research and Education (IN)
Openalex Percentile: Top 89%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.