Matrix Factorization Lab
SVD, SGD, ALS, implicit feedback, NMF and the latent-factor map, with real training computed in front of you.
- 6Experiments
- 2Lessons
Lessons
Matrix factorisation: SGD and ALS
Each user and item is a short vector of latent factors whose inner product approximates the rating.
Read the lessonImplicit feedback and NMF
When the signal is clicks or views, no interaction does not mean "dislike"; it gets low confidence rather than a certain zero.
Read the lessonAlgorithms in this lab
| Algorithm | Lab | Runs in | Note |
|---|---|---|---|
| Truncated SVD | Matrix Factorization Lab | Browser | Singular value decomposition of a mean-imputed matrix. |
| Matrix factorization (SGD) | Matrix Factorization Lab | Browser | The μ + b_u + b_i + p·q model with L2 regularisation, as in Koren 2009. |
| Alternating least squares | Matrix Factorization Lab | Browser | Closed-form update of each factor matrix in turn. |
| Implicit-feedback ALS | Matrix Factorization Lab | Browser | Confidence weights c = 1 + αr, as in Hu 2008. |
| Non-negative MF | Matrix Factorization Lab | Browser | Multiplicative update rules (Lee & Seung 1999). |
