Build a Spotify-Like Music Recommender System in Python @ValerioVelardoTheSoundofAI
Build a Spotify-Like Music Recommender System in Python  @ValerioVelardoTheSoundofAI
Uploaded December 2022 | Updated September 2026, 2 weeks ago
Learn how to build a music recommender system that suggests music artists using collaborative filtering and Alternating Least Squares. In the process, you’ll get a foundation about music recommenders, how Spotify recommends music, and how to use a production-ready collaborative filtering Python library called ‘implicit’.

======================================

Get the code:
github.com/musikalkemist/musiccollaborativefiltering

Last.fm Music Artist Recommendation Dataset:
grouplens.org/datasets/hetrec-2011

======================================

The Sound of AI Academy:
the-sound-of-ai-academy.teachable.com

The Sound of AI Recruitment:
thesoundofai.com

Advanced Python Programming:
the-sound-of-ai-academy.teachable.com/p/advanced-python-programming

Join The Sound Of AI Slack community:
valeriovelardo.com/the-sound-of-ai-community

Interested in hiring me as a consultant/freelancer?
valeriovelardo.com

Connect with Valerio on Linkedin:
linkedin.com/in/valeriovelardo

Follow Valerio on Facebook:
facebook.com/TheSoundOfAI

Follow Valerio on Twitter:
twitter.com/musikalkemist​

======================================

Content

0:00 Intro
0:28 Types of music recommendation
2:17 Spotify recommendation architecture
3:41 What are we building?
4:18 User-item matrix
6:41 Alternating least squares
13:50 Last.fm dataset
16:46 Package overview
17:28 Data loader routine
20:30 Artist retriever
23:12 Implicit - a collaborative filtering library
23:47 Recommender implementation
27:55 Running artist recommendations
30:35 Join The Sound of AI Slack Community!
Build a Spotify-Like Music Recommender System in Python11.  Markov Chains - Generative Music AI CoursePyTorch for Audio + Music Processing: Course OverviewHow to Create an Effective AI (Audio) Portfolio to Land a Job9.  Generative Grammars for Music Generation - Generative Music AI CourseWhat’s the Best Strategy to Develop an AI Audio Solution?Audio Signal Processing for Machine LearningLiskov Substitution Principle for Machine Learning: Theory and PracticeIn Conversation with Josh Hodge - The Audio ProgrammerIn Conversation with Alex Mitchell - Boomy19.  Melody generation with transformers - Generative Music AIExtracting Spectral Centroid and Bandwidth with Python and Librosa
Valerio Velardo - The Sound of AI |

Build a Spotify-Like Music Recommender System in Python

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER