Build a Collaborative Filtering Recommender System in Python

Build a Collaborative Filtering Recommender System in Python

Use the Amazon Reviews/Ratings dataset of 2 Million records to build a recommender system using memory-based collaborative filtering in Python.


Each project comes with 2-5 hours of micro-videos explaining the solution.

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

Project Experience

Add project experience to your Linkedin/Github profiles.

Customer Love

Read All Reviews

Arvind Sodhi

VP - Data Architect, CDO at Deutsche Bank

I have extensive experience in data management and data processing. Over the past few years I saw the data management technology transition into the Big Data ecosystem and I needed to follow suit. I... Read More

James Peebles

Data Analytics Leader, IQVIA

This is one of the best of investments you can make with regards to career progression and growth in technological knowledge. I was pointed in this direction by a mentor in the IT world who I highly... Read More

What will you learn

What are Recommender systems
Distance based metric
Cosine similarity
Centered cosine similarity
Loading and exploring data
Exploratory Data Analysis
Encoding the data
Normalising ratings
Creating user-item matrix
Identifying similar users
Recommending products to a user

Project Description

Recommender systems are an integral part of many online systems. From e-commerce to online streaming platforms. Recommender systems employ the past purchase pattern on its user to predict which other products they may be interested in and likely to purchase. Recommending the right products gives a significant advantage to the business. A major portion of the revenue is generated through recommendations.

The Collaborative Filtering algorithm is very popular in online streaming platforms and e-commerce sites where the customer interacts with each product (which can be a movie/ song or consumer products) by either liking/ disliking or giving a rating of sorts. One of the requirements to be able to apply collaborative filtering is that sufficient number of products need ratings associated with not them. User interaction is required.

This machine learning project walks you through the implementation of collaborative filtering using memory based technique of distance proximity using cosine distances and nearest neighbours.

Similar Projects

In this machine learning pricing project, we implement a retail price optimization algorithm using regression trees. This is one of the first steps to building a dynamic pricing model.

Deep Learning Project using Keras Deep Learning Library to predict the effect of Genetic Variants to enable personalized Medicine.

Using this Kaggle dataset, you will explore which type of employees make less or more money, or which employees get normal pay hikes and promotions.

Curriculum For This Mini Project

What are Recommender Systems
Distance Metric - Cosine Similarity
Centered Cosine Similarity
Loading and Exploring the Data
Visualizations - Exploratory Data Analysis
Visualizations - Understanding Ratings per Product
Encoding Data - Normalized Ratings
Filtering Process
Creating User Item Matrix
Identify Top k Similar Users
Recommend Top k products
Evaluate the Recommender Model