Answered step by step
Verified Expert Solution
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 she has already rated. Let be a matrix with row and columns whose entry is the rating by user of movie if this rating has already been given, and blank if not. Our goal is to come up with a matrix that has no blank entries and whose entry is the prediction of the rating user a will give to movie
Let be the set of all s for which a user rating exists, ie if and only if the rating of user to movie i exists.
A naive approach to solve this problem would be to minimize the following objective:
iinD
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 of the objective function Note that can be viewed as a function of the variables
Type Xai for matrix entries for matrix entries and "lambda" for Note that and are
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