Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
33 views17 pages

ML Mini Project

The document is a mini-project report on a Movie Recommendation System developed by students from Atma Malik Institute of Technology and Research under the guidance of Mrs. Tejaswini Bhujade. It details the use of machine learning algorithms such as SVM and content-based filtering to recommend movies based on user preferences and metadata. The project aims to enhance user experience by providing personalized movie suggestions using the TMDB 5000 Movie dataset.

Uploaded by

aartyso7933
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views17 pages

ML Mini Project

The document is a mini-project report on a Movie Recommendation System developed by students from Atma Malik Institute of Technology and Research under the guidance of Mrs. Tejaswini Bhujade. It details the use of machine learning algorithms such as SVM and content-based filtering to recommend movies based on user preferences and metadata. The project aims to enhance user experience by providing personalized movie suggestions using the TMDB 5000 Movie dataset.

Uploaded by

aartyso7933
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Mini-Project Report on

Movie Recommendation System

Machine Learning Lab/B.E./Sem VII

Prajakta Prabhakar Bhere

Apeksha Nayan Bhoir

Roshani Premdas Bhoir

Priyanka Sudam Dhole

under the guidance of

Mrs. Tejaswini Bhujade

Department of Computer Engineering

Atma Malik Institute Of Technology And Research,

University of Mumbai
2024–2025
CERTIFICATE

This is to certify that the B.E. Natural Language Processing Lab mini-project entitled “Movie

Recommendation System” is a bonafide work of “Prajakta Bhere” (03), “Apeksha Bhoir”

(04), “Roshani Bhoir” (06) and “Priyanka Dhole”(13) submitted to the University of

Mumbai in partial fulfillment of the requirement for the award of the degree of “Computer

Engineering” during the academic year 2024–2025.

Prof. Tejaswini Bhujade Prof. Naresh Shende Dr. D. D. Shinde


(Project Guide) (HOD-COMP) (Principal)

ii
B.E. Machine Learning Mini-Project Report Approval

This mini-project synopsis entitled Movie Recommendation System by Prajakta Bhere, Apeksha
Bhoir, Roshani Bhoir And Priyanka Dhole is approved for the degree of Computer
Engineering from University of Mumbai.

Examiners

1.

2.

Date:

Place:

iii
Declaration

We declare that this written submission represents our ideas in our own words and where others’
ideas or words have been included, we have adequately cited and referenced the original sources.
We also declare that we have adhered to all principles of academic honesty and integrity and have
not misrepresented or fabricated or falsified any idea/data/fact/source in our submission. We
understand that any violation of the above will be cause for disciplinary action by the Institute and
can also evoke penal action from the sources which have thus not been properly cited or from whom
proper permission has not been taken when needed.

Signature
Prajakta Bhere

Signature
Apeksha Bhoir

Signature
Roshani Bhoir

Signature
Priyanka Dhole

Date:

iv
Abstract

A recommender system is a simple algorithm whose aim is to provide the most relevant
information to a user by discovering patterns in a dataset. The algorithm rates the items and
shows the user the items that they would rate highly. An example of recommendation in action
is when you visit Amazon and you notice that some items are being recommended to you or
when Netflix recommends certain movies to you.

In this project, a personalized content-based movie recommendation system based on Porter


Stemmer, SVM, Vectorization and Bag Of Words Machine Learning Algorithms is presented.
Content-based systems use metadata such as genre, producer, actor, musician to recommend
items say movies or music. Such a recommendation would be for instance recommending
Infinity War that featured Vin Diesel because someone watched and liked The Fate of the
Furious. Similarly, you can get music recommendations from certain artistsbecause you liked
their music. Content-based systems are based on the idea that if you liked a certain item, you
are most likely to like something that is similar to it.

Here TMDB 5000 Movie dataset is used to evaluate the personalized music recommendation
system.

v
Table of Contents

Abstract v

List of Figures vii

List of Abbreviations viii

Chapter 1 Introduction 1

Chapter 2 Review of Literature 2

Chapter 3 Requirement Analysis 3

Chapter 4 Report on Present Investigation 4

4.1 Proposed System 4

4.1.1 Block diagram of Proposed System 4

4.2 Implementation 5

4.2.1 Pseudo code 5

4.2.2 Screenshots of the output with description 6

Chapter 5 Results and Discussion 7

Chapter 6 Conclusion 8

References 9

vi
List of Figures

Figure No. Figure Name Page No.

4.1.1 Block Diagram 4

4.2.2.1 Home Page 6

4.2.2.2 Enter/Select a movie name 6

4.2.2.3 Recommended Movies 6

vii
List of Abbreviations

SVM Support Vector Machine

OTT Over-The-Top

viii
Chapter 1

Introduction

In today’s world where internet has become an important part of human life, users often face the
problem of too much choice. Right from looking for a motel to looking for good investment
options, there is too much information available. To help the users cope with this information
explosion, companies have deployed recommendation systems to guide their users.

Several such online recommendation systems implemented and used are the recommendation
system for books at Amazon.com, for movies at MovieLens.org, CDs at CDNow.com (from
Amazon.com), etc. Recommender Systems have added to the economy of the some of the e-
commerce websites (like Amazon.com) and Netflix which have made these systems a salient-
parts of their websites.

Recommender Systems generate recommendations; the user may accept them according to their
choice and may also provide, immediately or at a next stage, an implicit or explicit feedback. The
actions of the users and their feedbacks can be stored in the recommender database and may be
used for generating new recommendations in the next user-system interactions. The economic
potential of theses recommender systems has led some of the biggest e-commerce websites (like
Amazon.com, snapdeal.com) and the online movie rental company Netflix to make these systems
a salient part of their websites. High quality personalized recommendations add another
dimension to user experience.

The recommendation plays a crucial role in practical life, advice in form of recommendation is
being taken, generally from an experienced person, because experience makes the efficient
outcomes, moreover using a product can have a personal experience, similarly in modern world
as technology surrounds us, there is a need of recommendation from machine. The similar
example in daily life are the OTT platforms, the moment a user watches or searches a specific
movie further the user gets to see the popup of the recommended movies as per his/her interest
on the top list. The technique is used to meet the customer needs and at the same time getting
benefitted by the delivering the contents as per the user.

1
Chapter 2

Review of Literature

The existing recommender systems using collaborative filtering algorithms have gained a
great success. Netflix opened a challenge for the best filtering algorithm, and the winning
algorithm using latent factor models could make 10.09% improvements over the algorithm
used by Netflix at that time. Amazon uses user-user based and item-item based filtering,
which greatly contributes to the success of the business. Recently a newer algorithm using
neural network, neural filtering was proposed.

Sr.no Project Title Author Name Research Gap

Content based filtering for Jieun Son and It recommends same


1. recommendation system using multi Seoung Bum Kim genre again and again
attribute network
Collaborative based filtering for Goldberg et al Many Technical
2. recommendation deficiencies (Due to
large amount of data)
3. Movie Recommendation System Pavan Kumar, Nitesh The model has
S, Muralidhara limited ability to
Reddy expand on the users'
existing interests.
4. Deep learning-based approaches Jeffery lund and Yiu- No proper
Kai Ng recommendation and
inefficient
5. Item-Based Collaborative Filtering in Mukesh Kumar The model accuracy
Movie Recommendation in Real time Kharita , Atul Kumar, is low as compared
Pardeep Singh to contemporary
recommendation
models

2
Chapter 3

Requirement Analysis

 HARDWARE REQUIREMENT:

4 GB RAM

128 GB Storage

Smartphone

Intel i3 Processor or Above

 SOFTWARE REQUIREMENT:

Windows 7 / 8 / 10

Python

Jupyter Notebook

Google Chrome

IDE: PyCharm

3
Chapter 4

Report on Present Investigation

Proposed System

Recommendation systems are becoming increasingly important in today’s extremely busy world.
People are always short on time with the myriad tasks they need to accomplish in the limited 24
hours. Therefore, the recommendation systems are important as they help them make the right
choices, without having to expend their cognitive resources. The purpose of a recommendation
system basically is to search for content that would be interesting to an individual. Moreover, it
involves a number of factors to create personalised lists of useful and interesting content specific
to each user/individual.
Recommendation systems are Artificial Intelligence based algorithms that skim through all
possible options and create a customized list of items that are interesting and relevant to an
individual. In this project content-based recommendation system using Porter Stemmer,
Vectorization, SVM Machine Learning Algorithms is used. Content Based Recommendation
System: It uses attributes such as genre, director, description, actors, etc. for movies, to make
suggestions for the users. The intuition behind this sort of recommendation system is that if a user
liked a particular movie or show, he/she might like a movie or a show like it.

Block Diagram of Proposed System:

Fig 4.1.1 Block Diagram

4
Implementation
Pseudo code

import pickle
import streamlit as st
import requests
def fetch_poster(movie_id):
url = "https://api.themoviedb.org/3/movie/{}?api_key=8265bd1679663a7ea12ac168
da84d2e8&language =en-US".format(movie_id)
data = requests.get(url)
data = data.json()
poster_path = data['poster_path']
full_path = "https://image.tmdb.org/t/p/w500/" + poster_path
return full_path
def recommend(movie):
index = movies[movies['title'] == movie].index[0]
distances = sorted(list(enumerate(similarity[index])), reverse=True, key=lambda x: x[1])
recommended_movie_names = []
recommended_movie_posters = []
for i in distances[1:6]:
movie_id = movies.iloc[i[0]].movie_id
recommended_movie_posters.append(fetch_poster(movie_id))
recommended_movie_names.append(movies.iloc[i[0]].title)
return recommended_movie_names,recommended_movie_posters
st.header('Movie Recommender System')
movies = pickle.load(open('movies.pkl','rb'))
similarity = pickle.load(open('similarity.pkl','rb'))
movie_list = movies['title'].values
selected_movie = st.selectbox("Type or select a movie from the dropdown", movie_list)
if st.button('Show Recommendation'):
recommended_movie_names,recommended_movie_posters = recommend(selected_movie)
col1, col2, col3, col4, col5 = st.columns(5)
with col1:
st.text(recommended_movie_names[0])
st.image(recommended_movie_posters[0])
with col2:
st.text(recommended_movie_names[1])
st.image(recommended_movie_posters[1])
with col3:
st.text(recommended_movie_names[2])
st.image(recommended_movie_posters[2])
with col4:
st.text(recommended_movie_names[3])
st.image(recommended_movie_posters[3])
with col5:
st.text(recommended_movie_names[4])
st.image(recommended_movie_posters[4])
5
Screenshots of the output with description

Fig 4.2.2.1 Home Page

Fig 4.2.2.2 Enter/ Select a movie name

Fig 4.2.2.3 Recommended Movies

6
Chapter 5

Results and Discussion

Recommender system has become more and more important because of the information
overload. The objective of recommender systems is to provide recommendations based on
recorded information on the users' preferences. A content-based movie recommender system
using cosine similarity is designed improve the accuracy of the representative of the movie.
Content-Based filtering does not involve other users, but based on preference, the algorithm
will simply pick items with similar content to generate recommendations. The basic task in
movie recommendation system is to generate the best movie recommendation system by
predicting based on customization and detecting the similar music genre, by using Porter
Stemmer, Vectorization, SVM Machine Learning algorithms.

7
Chapter 6

Conclusion

This is a website that helps users to get their movie recommended and give them other
recommendations. Accuracy of any recommender system can be improved if we add extra
movie features. Generally, most of the papers have shown the combination of collaborative
filtering and content-based filtering. By combining methods, the problems related to the two
methods are tried to resolve. So, hybrid filtering is the most well-known technique in any
recommendation system. Because using this helps to build an effective recommendation
system. There are various areas of recommendation system as discussed earlier. Various
techniques are also discussed which works in giving recommendation. So, scope of any
recommender system is to build a model in such a way that their user gets proper
recommendation and efficiency of the system is maintained.

8
References

[1] Reddy, S. R. S., et al. "Content-based movie recommendation system using genre
correlation." Smart Intelligent Computing and Applications. Springer, Singapore, 2019.
391-397.
[2] Zhang, Jiang, et al. "Personalized real-time movie recommendation system: Practical
prototype and evaluation." Tsinghua Science and Technology 25.2 (2019): 180-191.
[3] Subramaniyaswamy, V., et al. "A personalised movie recommendation system based on
collaborative filtering." International Journal of High-Performance Computing and
Networking 10.1-2 (2017): 54-63.

You might also like