SlideShare uma empresa Scribd logo
1 de 24
Movie Recommender System
Using Artificial Intelligence
Oswal Shrutika Suresh
Introduction
Types of Recommended System
Implementation of Recommended System
Feature of benchmarking a recommended
Practical implementation of movie recommender
Conclusion
references
 In recent years recommended systems are all around us it becoming more and
more popular.
 Recommendation Systems filter and predict the rating, views, preferences that
any user has given to product, movie, books, news, avertisse, Song, social tags,
etc.
 It is one kind of information filtering system that produces a list of
Recommendation.
 By using the system’s algorithms, it will show accurate user preferences by
analysing a huge number of datasets.
 Content-based filtering is also called as cognitive filtering.
 It depends on the profile, preference added by the customer and the description
of products.
 The challenge is extracting all discrete details of every product available
Content-based filtering system need to face several issues like:
1) Some terms in the description of a particular product can be assigned
manually or automatically.
2) To choose an algorithm that will make the best recommendation in a
particular scenario.
3)The terms are chosen in such a way that we are able to compare the
item’s description and the user profile preferences in some meaningful manner.
 The Collaborative filtering is also called as social filtering.
 The key idea is the person will more likely to be agreed in the future if they had
agreed in the past in the evaluation of certain items.
 There is no need to strictly monitoring specific kind of information as required
in content-based filtering.
 It analyses similarities between the customer's interests and their behaviour and
finally serves recommendation list.
 Popular examples are Spotify, YouTube, Netflix, etc.
 There is a need for fast response and it should be scalable according to very
large datasets.
 To satisfy the primary approach of speed and scalability we develop a
model by extracting information from large datasets.
 Advantages :-
1) Scalability
2) Recommendation speed
 Disadvantages :-
1) Inflexibility
2) Quality of Recommendation
Clusters of users and projects
are built upon the basis of the
user’s rating, user's interest,
project attribute vectors.
K Nearest Neighbour (KNN)
algorithm is used to implement
this clustering model.
• Some small number of hidden
factors are taken into
consideration for determining the
attributes or preferences of the
customer.
This is an extension to matrix factorization.
It makes use of Multi-layered neural nets including embedding layers
 This technique utilizes entire datasets to generate recommendations.
 The customers who purchase similar kind of items or the customers who give a
rating to different items similarly are knowns as a neighbour
 The systems find this kind of neighbours by applying some statistical technique
 Types of Memory-based Filtering:-
a) User-item Filtering
b) Item-item Filtering
Advantages :-
 Need to develop a particular model.
 We are using the entire database at every new prediction it is very easy to update the datasets.
 Quality of recommendation is good.
 Simple algorithm is used so easy to implement in any situation.
 Disadvantages :-
 Very slow process of prediction as it requires the entire database to be in memory every time.
 Memory requirement is more.
 It does not generalize the dataset at all.
 The solution to the Content-based filtering problem and Collaborative filtering problem is
collaboration via Content which is also called a Hybrid approach.
 User profile is constructed not only by the rated items but also by the content of item.
 There is a weight assigned to each term which indicates the importance of that term.
 It is able to give recommendations outside of normal user environment based on the
experiences and impressions of another customer.
 The first task is to collect a large amount to data for processing.
 This gathering of relevant data process involves multiple users and item information in the form of user
behaviour, user interest, item rating, discrete item attributes.
 It starts with data filtration and structuring.
 User data with ratings and item attributes with keywords are given as an input.
 It also takes design recommendation interface model outcomes as an input parameter and finally, the
updates will be passed to the recommendation model.
 generate a list of recommendations and send it to the user via a user interface, any other social networking
sites or through advertising.
 Data scientist always try to recollect this data for the performance evaluation of recommender systems.
 To measure whether your recommender is up to the mark or not you need to do a survey
 user preference
 Prediction Accuracy
 Coverage
 Trust of user
 Confidence
 Novelty
 Diversity
 Risk Factor
 Robustness
 Utility
 Privacy
import numpy as np
import pandas as pd
ratings_data = pd.read_csv("D:Datasetsml-latest-
smallratings.csv")
ratings_data.head()
movie_names = pd.read_csv("D:Datasetsml-latest-
smallmovie_.csv")
movie_names.head()
movie_data = pd.merge(ratings_data, movie_names, on='movieId')
movie_data.head()
movie_data.groupby('title')['rating'].count().sort_values(ascending=F
alse).head()
ratings_mean_count =
pd.DataFrame(movie_data.groupby('title')['rating'].mean())
ratings_mean_count['rating_counts'] =
pd.DataFrame(movie_data.groupby('title')['rating'].count())
ratings_mean_count.head()
import matplotlib.pyplot as plt
import seaborn as sns
sns.set_style('dark')
%matplotlib inline
plt.figure(figsize=(8,6))
plt.rcParams['patch.force_edgecol
or'] = True
ratings_mean_count['rating_coun
ts'].hist(bins=50)
plt.figure(figsize=(8,6))
plt.rcParams['patch.force_edgecol
or'] = True
ratings_mean_count['rating'].hist(
bins=50)
user_movie_rating = movie_data.pivot_table(index='userId', columns='title', values='rating')
user_movie_rating.head()
forrest_gump_ratings = user_movie_rating['Forrest Gump (1994)'] forrest_gump_ratings.head()
movies_like_forest_gump =
user_movie_rating.corrwith(forrest_gump_ratings)corr_forrest_gump=pd.DataFrame(movies_like_forest_gump,colu
mns=['Correlation'])corr_forrest_gump.dropna(inplace=True) corr_forrest_gump.head()
corr_forrest_gump.sort_values('Correlation', ascending=False).head(10)
corr_forrest_gump = corr_forrest_gump.join(ratings_mean_count['rating_counts']) corr_forrest_gump.head()
corr_forrest_gump[corr_forrest_gump ['rating_counts']>50].sort_values('Correlation', ascending=False).head()
 In this paper we have seen various benefits of the recommended system.
 Also we have studied different types of recommenders with their advantages and
disadvantages.
 By using this kind of recommender system it is easy to provide the suggestions to
the customer so that they can choose a product according to their area of interest,
preferences.
 we have gone through various phases of implementation starting from gathering
the huge data set to generating real time recommendation to particular customer.
 Sarika Jain , Anjali Grover , Praveen Singh Thakur , Sourabh Kumar Choudhary; “Trends,
problems and solutions of recommender system,”
 [2] Bogdan Walek , Petra Spackova; “Content-Based Recommender System for Online Stores
Using Expert System”. 2018 IEEE First International Conference on Artificial Intelligence
and Knowledge Engineering (AIKE)
 [3] Ruchika, Ajay Vikram Singh, Mayank Sharma; “Building an effective recommender
system using machine learning based framework”; 2017 International Conference on Infocom
Technologies and Unmanned Systems (Trends and Future Directions) (ICTUS)
 [4] Kunal Shah, Akshaykumar Salunke , Saurabh Dongare, Kisandas Antala; “Recommender
systems: An overview of different approaches to recommendations”; 2017 International
Conference on Innovations in Information, Embedded and Communication Systems
(ICIIECS)
Movie Recommender System Using Artificial Intelligence

Mais conteúdo relacionado

Mais procurados

Building a Recommendation Engine - An example of a product recommendation engine
Building a Recommendation Engine - An example of a product recommendation engineBuilding a Recommendation Engine - An example of a product recommendation engine
Building a Recommendation Engine - An example of a product recommendation engine
NYC Predictive Analytics
 

Mais procurados (20)

Movie Recommendation System.pptx
Movie Recommendation System.pptxMovie Recommendation System.pptx
Movie Recommendation System.pptx
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Recommender system
Recommender systemRecommender system
Recommender system
 
Recommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filteringRecommender systems: Content-based and collaborative filtering
Recommender systems: Content-based and collaborative filtering
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Developing Movie Recommendation System
Developing Movie Recommendation SystemDeveloping Movie Recommendation System
Developing Movie Recommendation System
 
Collaborative filtering
Collaborative filteringCollaborative filtering
Collaborative filtering
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender Systems
 
Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system Movie recommendation system using collaborative filtering system
Movie recommendation system using collaborative filtering system
 
Introduction to Recommendation Systems
Introduction to Recommendation SystemsIntroduction to Recommendation Systems
Introduction to Recommendation Systems
 
Recommendation System
Recommendation SystemRecommendation System
Recommendation System
 
Recommender system
Recommender systemRecommender system
Recommender system
 
Movie recommendation project
Movie recommendation projectMovie recommendation project
Movie recommendation project
 
Recommender systems using collaborative filtering
Recommender systems using collaborative filteringRecommender systems using collaborative filtering
Recommender systems using collaborative filtering
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Building a Recommendation Engine - An example of a product recommendation engine
Building a Recommendation Engine - An example of a product recommendation engineBuilding a Recommendation Engine - An example of a product recommendation engine
Building a Recommendation Engine - An example of a product recommendation engine
 
A Hybrid Recommendation system
A Hybrid Recommendation systemA Hybrid Recommendation system
A Hybrid Recommendation system
 
Collaborative Filtering using KNN
Collaborative Filtering using KNNCollaborative Filtering using KNN
Collaborative Filtering using KNN
 
Recommendation System Explained
Recommendation System ExplainedRecommendation System Explained
Recommendation System Explained
 
Recommendation system
Recommendation systemRecommendation system
Recommendation system
 

Semelhante a Movie Recommender System Using Artificial Intelligence

FIND MY VENUE: Content & Review Based Location Recommendation System
FIND MY VENUE: Content & Review Based Location Recommendation SystemFIND MY VENUE: Content & Review Based Location Recommendation System
FIND MY VENUE: Content & Review Based Location Recommendation System
IJTET Journal
 
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
ijtsrd
 

Semelhante a Movie Recommender System Using Artificial Intelligence (20)

Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation System
 
IRJET- Hybrid Recommendation System for Movies
IRJET-  	  Hybrid Recommendation System for MoviesIRJET-  	  Hybrid Recommendation System for Movies
IRJET- Hybrid Recommendation System for Movies
 
A REVIEW PAPER ON BFO AND PSO BASED MOVIE RECOMMENDATION SYSTEM | J4RV4I1015
A REVIEW PAPER ON BFO AND PSO BASED MOVIE RECOMMENDATION SYSTEM | J4RV4I1015A REVIEW PAPER ON BFO AND PSO BASED MOVIE RECOMMENDATION SYSTEM | J4RV4I1015
A REVIEW PAPER ON BFO AND PSO BASED MOVIE RECOMMENDATION SYSTEM | J4RV4I1015
 
Recommendation system (1).pptx
Recommendation system (1).pptxRecommendation system (1).pptx
Recommendation system (1).pptx
 
recommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdfrecommendationsystem1-221109055232-c8b46131.pdf
recommendationsystem1-221109055232-c8b46131.pdf
 
B1802021823
B1802021823B1802021823
B1802021823
 
Investigation and application of Personalizing Recommender Systems based on A...
Investigation and application of Personalizing Recommender Systems based on A...Investigation and application of Personalizing Recommender Systems based on A...
Investigation and application of Personalizing Recommender Systems based on A...
 
Mixed Recommendation Algorithm Based on Content, Demographic and Collaborativ...
Mixed Recommendation Algorithm Based on Content, Demographic and Collaborativ...Mixed Recommendation Algorithm Based on Content, Demographic and Collaborativ...
Mixed Recommendation Algorithm Based on Content, Demographic and Collaborativ...
 
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.comHABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
 
IRJET- Hybrid Book Recommendation System
IRJET- Hybrid Book Recommendation SystemIRJET- Hybrid Book Recommendation System
IRJET- Hybrid Book Recommendation System
 
Recommender system and big data (design a smartphone recommender system based...
Recommender system and big data (design a smartphone recommender system based...Recommender system and big data (design a smartphone recommender system based...
Recommender system and big data (design a smartphone recommender system based...
 
Recommendation System using Machine Learning Techniques
Recommendation System using Machine Learning TechniquesRecommendation System using Machine Learning Techniques
Recommendation System using Machine Learning Techniques
 
Architecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for BusinessArchitecting AI Solutions in Azure for Business
Architecting AI Solutions in Azure for Business
 
MOVIE RECOMMENDATION SYSTEM
MOVIE RECOMMENDATION SYSTEMMOVIE RECOMMENDATION SYSTEM
MOVIE RECOMMENDATION SYSTEM
 
Recommendation Systems Basics
Recommendation Systems BasicsRecommendation Systems Basics
Recommendation Systems Basics
 
FIND MY VENUE: Content & Review Based Location Recommendation System
FIND MY VENUE: Content & Review Based Location Recommendation SystemFIND MY VENUE: Content & Review Based Location Recommendation System
FIND MY VENUE: Content & Review Based Location Recommendation System
 
20320140501009 2
20320140501009 220320140501009 2
20320140501009 2
 
Teacher training material
Teacher training materialTeacher training material
Teacher training material
 
Evaluating and Enhancing Efficiency of Recommendation System using Big Data A...
Evaluating and Enhancing Efficiency of Recommendation System using Big Data A...Evaluating and Enhancing Efficiency of Recommendation System using Big Data A...
Evaluating and Enhancing Efficiency of Recommendation System using Big Data A...
 
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
An Efficient Content, Collaborative – Based and Hybrid Approach for Movie Rec...
 

Último

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Último (20)

OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 

Movie Recommender System Using Artificial Intelligence

  • 1. Movie Recommender System Using Artificial Intelligence Oswal Shrutika Suresh
  • 2. Introduction Types of Recommended System Implementation of Recommended System Feature of benchmarking a recommended Practical implementation of movie recommender Conclusion references
  • 3.  In recent years recommended systems are all around us it becoming more and more popular.  Recommendation Systems filter and predict the rating, views, preferences that any user has given to product, movie, books, news, avertisse, Song, social tags, etc.  It is one kind of information filtering system that produces a list of Recommendation.  By using the system’s algorithms, it will show accurate user preferences by analysing a huge number of datasets.
  • 4.
  • 5.  Content-based filtering is also called as cognitive filtering.  It depends on the profile, preference added by the customer and the description of products.  The challenge is extracting all discrete details of every product available Content-based filtering system need to face several issues like: 1) Some terms in the description of a particular product can be assigned manually or automatically. 2) To choose an algorithm that will make the best recommendation in a particular scenario. 3)The terms are chosen in such a way that we are able to compare the item’s description and the user profile preferences in some meaningful manner.
  • 6.  The Collaborative filtering is also called as social filtering.  The key idea is the person will more likely to be agreed in the future if they had agreed in the past in the evaluation of certain items.  There is no need to strictly monitoring specific kind of information as required in content-based filtering.  It analyses similarities between the customer's interests and their behaviour and finally serves recommendation list.  Popular examples are Spotify, YouTube, Netflix, etc.
  • 7.  There is a need for fast response and it should be scalable according to very large datasets.  To satisfy the primary approach of speed and scalability we develop a model by extracting information from large datasets.  Advantages :- 1) Scalability 2) Recommendation speed  Disadvantages :- 1) Inflexibility 2) Quality of Recommendation
  • 8. Clusters of users and projects are built upon the basis of the user’s rating, user's interest, project attribute vectors. K Nearest Neighbour (KNN) algorithm is used to implement this clustering model. • Some small number of hidden factors are taken into consideration for determining the attributes or preferences of the customer.
  • 9. This is an extension to matrix factorization. It makes use of Multi-layered neural nets including embedding layers
  • 10.  This technique utilizes entire datasets to generate recommendations.  The customers who purchase similar kind of items or the customers who give a rating to different items similarly are knowns as a neighbour  The systems find this kind of neighbours by applying some statistical technique  Types of Memory-based Filtering:- a) User-item Filtering b) Item-item Filtering
  • 11. Advantages :-  Need to develop a particular model.  We are using the entire database at every new prediction it is very easy to update the datasets.  Quality of recommendation is good.  Simple algorithm is used so easy to implement in any situation.  Disadvantages :-  Very slow process of prediction as it requires the entire database to be in memory every time.  Memory requirement is more.  It does not generalize the dataset at all.
  • 12.  The solution to the Content-based filtering problem and Collaborative filtering problem is collaboration via Content which is also called a Hybrid approach.  User profile is constructed not only by the rated items but also by the content of item.  There is a weight assigned to each term which indicates the importance of that term.  It is able to give recommendations outside of normal user environment based on the experiences and impressions of another customer.
  • 13.
  • 14.  The first task is to collect a large amount to data for processing.  This gathering of relevant data process involves multiple users and item information in the form of user behaviour, user interest, item rating, discrete item attributes.  It starts with data filtration and structuring.  User data with ratings and item attributes with keywords are given as an input.  It also takes design recommendation interface model outcomes as an input parameter and finally, the updates will be passed to the recommendation model.
  • 15.  generate a list of recommendations and send it to the user via a user interface, any other social networking sites or through advertising.  Data scientist always try to recollect this data for the performance evaluation of recommender systems.  To measure whether your recommender is up to the mark or not you need to do a survey
  • 16.  user preference  Prediction Accuracy  Coverage  Trust of user  Confidence  Novelty  Diversity  Risk Factor  Robustness  Utility  Privacy
  • 17. import numpy as np import pandas as pd ratings_data = pd.read_csv("D:Datasetsml-latest- smallratings.csv") ratings_data.head() movie_names = pd.read_csv("D:Datasetsml-latest- smallmovie_.csv") movie_names.head() movie_data = pd.merge(ratings_data, movie_names, on='movieId') movie_data.head() movie_data.groupby('title')['rating'].count().sort_values(ascending=F alse).head() ratings_mean_count = pd.DataFrame(movie_data.groupby('title')['rating'].mean()) ratings_mean_count['rating_counts'] = pd.DataFrame(movie_data.groupby('title')['rating'].count()) ratings_mean_count.head()
  • 18. import matplotlib.pyplot as plt import seaborn as sns sns.set_style('dark') %matplotlib inline plt.figure(figsize=(8,6)) plt.rcParams['patch.force_edgecol or'] = True ratings_mean_count['rating_coun ts'].hist(bins=50)
  • 20. user_movie_rating = movie_data.pivot_table(index='userId', columns='title', values='rating') user_movie_rating.head() forrest_gump_ratings = user_movie_rating['Forrest Gump (1994)'] forrest_gump_ratings.head() movies_like_forest_gump = user_movie_rating.corrwith(forrest_gump_ratings)corr_forrest_gump=pd.DataFrame(movies_like_forest_gump,colu mns=['Correlation'])corr_forrest_gump.dropna(inplace=True) corr_forrest_gump.head() corr_forrest_gump.sort_values('Correlation', ascending=False).head(10) corr_forrest_gump = corr_forrest_gump.join(ratings_mean_count['rating_counts']) corr_forrest_gump.head() corr_forrest_gump[corr_forrest_gump ['rating_counts']>50].sort_values('Correlation', ascending=False).head()
  • 21.
  • 22.  In this paper we have seen various benefits of the recommended system.  Also we have studied different types of recommenders with their advantages and disadvantages.  By using this kind of recommender system it is easy to provide the suggestions to the customer so that they can choose a product according to their area of interest, preferences.  we have gone through various phases of implementation starting from gathering the huge data set to generating real time recommendation to particular customer.
  • 23.  Sarika Jain , Anjali Grover , Praveen Singh Thakur , Sourabh Kumar Choudhary; “Trends, problems and solutions of recommender system,”  [2] Bogdan Walek , Petra Spackova; “Content-Based Recommender System for Online Stores Using Expert System”. 2018 IEEE First International Conference on Artificial Intelligence and Knowledge Engineering (AIKE)  [3] Ruchika, Ajay Vikram Singh, Mayank Sharma; “Building an effective recommender system using machine learning based framework”; 2017 International Conference on Infocom Technologies and Unmanned Systems (Trends and Future Directions) (ICTUS)  [4] Kunal Shah, Akshaykumar Salunke , Saurabh Dongare, Kisandas Antala; “Recommender systems: An overview of different approaches to recommendations”; 2017 International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS)