Sitemap
Data Science Collective

Advice, insights, and ideas from the Medium data science community

Member-only story

What Is Singular Value Decomposition? How It Helped Netflix Recommend Movies

18 min read5 days ago

--

A movie recommendation is a prediction. Netflix has information about the movies we watch and rate, but it does not know in advance whether we will enjoy every movie in its catalogue. It has to use the available information to make a reasonable guess.

Press enter or click to view image in full size
image source: reviews.org

Suppose a viewer gives high ratings to romantic comedies and romantic dramas but low ratings to horror movies.
Another viewer has a similar pattern.
If the second viewer enjoys a particular romantic film, that may tell us something useful about the first viewer’s preferences.

This is the basic intuition behind collaborative filtering, a family of recommendation methods that uses patterns in people’s behaviour to suggest items they might like.

But how do we find these patterns when we have millions of viewers and thousands of movies?

One mathematical technique that helps us understand this problem is Singular Value Decomposition (SVD). It allows us to break a matrix into three matrices that reveal different aspects of its structure.

--

--

Ekta Soni
Ekta Soni

Written by Ekta Soni

College student. Writing as I learn.

Data Science Collective
Data Science Collective

Published in Data Science Collective

Advice, insights, and ideas from the Medium data science community