Recommender Systems Lab

Matrix Factorization Lab

SVD, SGD, ALS, implicit feedback, NMF and the latent-factor map, with real training computed in front of you.

  • 6Experiments
  • 2Lessons

The data bundled in this lab is synthetic (fictional titles, ratings from a seeded generator) and small, and the algorithms are genuinely computed in your browser. Results are educational and not comparable with a system on large real data; upload your own data to try them on it.

Lessons

Concept

Matrix factorisation: SGD and ALS

Each user and item is a short vector of latent factors whose inner product approximates the rating.

Read the lesson
Concept

Implicit 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 lesson

Algorithms in this lab

AlgorithmLabRuns inNote
Truncated SVDMatrix Factorization LabBrowserSingular value decomposition of a mean-imputed matrix.
Matrix factorization (SGD)Matrix Factorization LabBrowserThe μ + b_u + b_i + p·q model with L2 regularisation, as in Koren 2009.
Alternating least squaresMatrix Factorization LabBrowserClosed-form update of each factor matrix in turn.
Implicit-feedback ALSMatrix Factorization LabBrowserConfidence weights c = 1 + αr, as in Hu 2008.
Non-negative MFMatrix Factorization LabBrowserMultiplicative update rules (Lee & Seung 1999).

Experiments

Try the challenges · My saved experiments