Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall that each user a has a set of movies that ( s ) he has already rated. Let Y be a matrix with n

Recall that each user a has a set of movies that (s)he has already rated. Let Y be a matrix with n row and m columns whose (a,i)th entry Yai is the rating by user a of movie i if this rating has already been given, and blank if not. Our goal is to come up with a matrix x that has no blank entries and whose (a,i)th entry xai is the prediction of the rating user a will give to movie i.
Let D be the set of all (a,i)'s for which a user rating Yai exists, i.e.(a,i)inD if and only if the rating of user a to movie i exists.
A naive approach to solve this problem would be to minimize the following objective:
J(x)=(a?,iinD(Yai-xai)22+2(a)?,ixai2
Where the first term is the sum of the squared errors for entries with observed rating, and the second term is a regularization term roughly to prevent the predictions to become extremely large, and the parameter controls the balance between theses two terms.
Compute the derivative delJdelxai of the objective function J(x).(Note that J(x) can be viewed as a function of the variables xai.)
(Type X_{ai} for matrix entries xai,Y-{ai} for matrix entries Yai and "lambda" for . Note that x and Y are
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions