FunkSVD: math, code, prediction, and validation
Understand basic FunkSVD and focus on validation cases
7 min readApr 7, 2021
Today I would like to include the below parts:
- FunkSVD: math, process, and code
- Based on 1, make predictions, validation and will give emphasis on the different cases in order to help to understand the validation process
Let’s get started.
FunkSVD: briefly intro
- FunkSVD is a kind of matrix factorization. The original algorithm proposed by Simon Funk in his blog post [3] factorized the user-item rating matrix as the product of two lower dimensional matrices[1].
- The predicted ratings can be computed as R=HW, where R is the user-item rating matrix, H contains the user’s latent factors and W is the item’s latent factors. Specifically, the predicted rating r for user u will give to item i is computed as:
There are three matrices in this function:
- User-rating matrix: known ratings + to be predicted ratings
- User’s latent matrix: which needs to construct