liveBook · Manning

Matrix factorization

As explained in Grokking Machine Learning

An algorithmic technique that represents a matrix through products of lower-dimensional matrices to reduce its row and column dimensions.

Matrix factorization represents a large data matrix as a product of smaller matrices. This can simplify data by reducing both its rows and columns. section 2.3 section 2.5

Predicting movie ratings

Imagine a table with users as rows, movies as columns, and ratings as entries. Matrix factorization can extract features such as movie type or actors, then use them to predict a user’s rating. section 2.3

How Grokking Machine Learning covers it

How deep it goes
Defines the smaller-matrix product idea and illustrates recommendation use, but gives no factorization procedure or equations.
Examples
Uses a user–movie rating table to illustrate extracting movie features and predicting ratings.
What you can do after
Understand how a smaller-matrix product can simplify data and help predict ratings from user–movie features.
How it connects
Connects matrix factorization to dimensionality reduction, clustering, and singular value decomposition as ways to simplify data.

Also explained in

Compare how 3 books explain matrix factorization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Machine Learning. The section links point to the parts of the book it draws on.