Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed , 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.

S 1 user i has played song j (Pi); = 3 No user i has not played song i S 1 user i has played song j (Pi); = 3 No user i has not played song

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Baccalaureate Computer Science HL And SL Option A Databases Part I Basic Concepts

Authors: H Sarah Shakibi PhD

1st Edition

1542457084, 978-1542457088

More Books

Students also viewed these Databases questions