Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Matrix factorisation

What is matrix factorisation?

Writing a large table as the product of two much smaller ones. In a recommender, each person and each item gets a vector, and their dot product predicts a rating.

Where it is taught

How recommendations work. Give every person and every item a small vector, and learn the vectors from the ratings you have. The blanks in the table then fill themselves in.

What the lesson leaves you with

  • A recommender predicts the blank cells of a huge, mostly empty ratings table.
  • Each person and each item gets a learned vector, and their dot product predicts the rating.
  • The vectors are embeddings, trained by gradient descent on the known ratings.
Open the lesson

Questions

What is matrix factorisation?
Writing a large table as the product of two much smaller ones. In a recommender, each person and each item gets a vector, and their dot product predicts a rating.
Where is matrix factorisation used in AI?
Give every person and every item a small vector, and learn the vectors from the ratings you have. The blanks in the table then fill themselves in.
What is the key idea to remember about matrix factorisation?
A recommender predicts the blank cells of a huge, mostly empty ratings table.
Where can I learn matrix factorisation step by step?
In the lesson “How recommendations work” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

Related terms

  • Clustering
  • Discount
  • Precision and recall
  • Q-value
  • Reinforcement learning
  • Self-supervised learning