Spotify Similar Song Finder

A similar song finder using the Spotify API and KNN.

PythonSpotipyPandasScikit-learn
View on GitHub
Spotify Similar Song Finder

Spotify Similar Song Finder

The Spotify Similar Song Finder is a machine learning project that leverages the Spotify Web API and K-Nearest Neighbors (KNN) algorithm to discover songs similar to user favorites. This project combines music data analysis with practical recommendation algorithms.

Project Motivation

Music discovery can be challenging with millions of songs available on streaming platforms. While Spotify has its own recommendation system, I wanted to explore building a custom recommendation engine that focuses specifically on audio features and musical similarity.

How It Works

The application analyzes songs based on their audio features provided by Spotify's API, including:

  • Danceability: How suitable a track is for dancing
  • Energy: Intensity and power of the track
  • Valence: Musical positivity conveyed by the track
  • Acousticness: Confidence measure of whether the track is acoustic
  • Instrumentalness: Predicts whether a track contains vocals
  • Tempo: Overall estimated tempo in beats per minute