Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stochastic Matrix Factorization Max Welling. SMF Last time: The SVD can do a matrix factorization of the user-item-rating matrix. Main question to answer:

Similar presentations


Presentation on theme: "Stochastic Matrix Factorization Max Welling. SMF Last time: The SVD can do a matrix factorization of the user-item-rating matrix. Main question to answer:"— Presentation transcript:

1 Stochastic Matrix Factorization Max Welling

2 SMF Last time: The SVD can do a matrix factorization of the user-item-rating matrix. Main question to answer: how do we ignore the majority of the entries that have no ratings? Set of observed user-item pairs!!

3 Gradient Descent Compute the direction of steepest descent and take small steps in that direction (show youtube demo)

4 Steepest decent for SMF Choose a single observed user-item pair (u,i). Compute the following gradients: Perform these updates: (for just this (u,i) pair).

5 Stepsize The stepsize needs to be tuned to be of the right size. Too small: progress is too slow Too large: the value for A,B will explode You can measure you progress by monitoring C(A,B) as you keep updating. C should go down on average. Note that we don’t have to fill in values for the unobserved ratings! Predictions for the unobserved rating are very simple:

6 Regularization Extra terms We keep A,B terms small so that we do not fit too much to the current data. If we fit too much we would overfit and that might not generalize well to new data.

7 Some Extra Bias Terms. New Cost:

8 Homework Compute the derivatives: What are the new update rules?


Download ppt "Stochastic Matrix Factorization Max Welling. SMF Last time: The SVD can do a matrix factorization of the user-item-rating matrix. Main question to answer:"

Similar presentations


Ads by Google