Skip to content
Madhur Dixit edited this page Oct 19, 2023 · 1 revision

Welcome to the MovieRecommender wiki!

Recommend a user with a set of movies that they might like by considering the movies they have liked in the past and also considering the movies liked by other users that have a similar taste like them.

Approaches:

Content-Based

Collaborative Filtering

Item - Item Collaborative Filtering

User - user Collaborative Filtering

Our Approach There are two major approaches to implement recommendation systems: Content-Based and Collaborative Filtering. In Content-Based, we only consider the users’ past history and recommend movies from the genres that they have liked in the past. In this project, we have implemented Collaborative Filtering (CF). Collaborative filtering has two types: Item-Item CF and User-User CF. In Item-Item CF, we recommend the items that are most similar to the items liked by the user. Whereas, in User-User CF, we recommend the items liked by the users that are similar to the user we want to make a recommendation for.

Important Functions in the code : recommend(userID): This function takes userID as the input and correlates it with different items in the case of Item-Item Collaborative Filtering and correlates with different users in User-User Collaborative Filtering to provide the best movies possible for the given user ID.

Use Cases : Based on the Genre(Content-Based) : Let’s consider Lisa’s favorite genre is Horror and she has watched Annabelle and The Conjuring. So, now Lisa would be getting suggestions IT, Us and Get Out which are of the same Genre.

Based on the movies liked( Item - Item Collaborative Filtering) : Let’s consider Romeo has watched Seven and Shutter Island and he has rated both the movies 5/5. The Movie Database consists of : Seven - 5/5 Shutter Island - 5/5 The Prestige - 5/5 Inception - 5/5 Hitman - ⅖ So, according to the movie recommendation system, it uses Collaborative Filtering to get the movies from the database to get the movies which have a good rating and have been rated by a good number of users and then give the suggestion to Romeo with the movies : The Prestige, Inception. Based on watch history ( User - User Collaborative Filtering ) : Let’s consider Romeo has watched Avenger’s Infinity War and has given a rating of 5. Now, let’s consider Juliet has watched movies Avenger’s Infinity War and Avenger’s Endgame and has rated both the movies very well (5/5). Now, according to the movie recommendation system, it uses Collaborative Filtering to get the movies from the other movies from different user’s with the highest correlation and good rating and gives the suggestion to Romeo to watch Avenger’s Endgame.

Clone this wiki locally