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!
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!










