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.
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.