Question
Building a recommendation engine using k-means. A set of N users of a music-streaming app listens to songs from a library of n songs over
Building a recommendation engine using k-means. A set of N users of a music-streaming app listens to songs from a library of n songs over some period (say, a month). We describe user is listening habits by her playlist vector, which is the n-vector pi defined as: S1 notandi i has played song i (pi)) = 3 o notandi i has not played song i , for j = 1, ..., n. (Note that pi is an n-vector, while (pi)j is a number. You can assume that if a user listens to a song, she likes it. Your job (say, during a summer internship) is to design an algorithm that recommends to each user 10 songs that she has not listened to, but might like. (You can assume that for each user, there are at least 10 songs that she has not listened to.) To do this, you start by running k-means on the set of playlist vectors p1, ..., pN (Its not relevant here, but a reasonable choice of k might be 100 or so.) This gives the centroids z1, ..., zk, which are n-vectors. Now what do you do? You can explain in words; you do not need to give a formula to explain how you make the recommendations for each user.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started