Towards AI

The leading AI community and content platform focused on making AI accessible to all. Check out our new course platform: https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev

Follow publication

Machine Learning, Editorial, Programming, Tutorial

Recommendation System Tutorial with Python using Collaborative Filtering

Building a machine learning recommendation system tutorial using Python and collaborative filtering for a Netflix use case.

Towards AI Editorial Team
Towards AI
Published in
13 min readOct 13, 2020

--

Author(s): Saniya Parveez, Roberto Iriondo

Last updated, March 7, 2021

What is a Recommendation System?

A recommendation system generates a compiled list of items in which a user might be interested, in the reciprocity of their current selection of item(s). It expands users’ suggestions without any disturbance or monotony, and it does not recommend items that the user already knows.

For instance, the Netflix recommendation system offers recommendations by matching and searching similar users' habits and suggesting movies that share characteristics with films that users have rated highly.

In this tutorial, we will dive into building a recommendation system for Netflix.

This tutorial’s code is available on Github and its full implementation as well on Google Colab.

📚 Check out our principal component analysis tutorial. 📚

Figure 1: Netflix recommendation workflow. | recommendation system tutorial with Python using collaborative filtering — Netfl
Figure 1: Netflix recommendation workflow.

The recommendation system workflow shown in the diagram above shows the user’s collaboration regarding the ratings of different movies or shows. New users get their recommendations based on the recommendations of existing users.

According to McKinsey:

75% of what people are watching on Netflix comes from recommendations [1].

Netflix Real-time data cases:

  • More than 20,000 movies and shows.
  • 2 million users.

Complications

--

--

Published in Towards AI

The leading AI community and content platform focused on making AI accessible to all. Check out our new course platform: https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev

Written by Towards AI Editorial Team

The leading AI community & content platform making AI accessible to all. | 2.5k writers, 60k Discord, 500 k followers

Responses (1)

Write a response