SlideShare a Scribd company logo
1 of 23
RECOMMENDER SYSTEM
Shivarshi Bajpai
9911103557
 Introduction
 Content-based recommendation
 Collaborative filtering based recommendation
 K-nearest neighbor
 Association rules
 Matrix factorization
CS583, Bing Liu, UIC 2
Introduction
 Recommender systems are widely used on
the Web for recommending products and
services to users.
 Most e-commerce sites have such systems.
 These systems serve two important functions.
 They help users deal with the information overload
by giving them recommendations of products, etc.
 They help businesses make more profits, i.e.,
selling more products.
CS583, Bing Liu, UIC 3
E.g., movie recommendation
 The most common scenario is the following:
 A set of users has initially rated some subset of
movies (e.g., on the scale of 1 to 5) that they have
already seen.
 These ratings serve as the input. The
recommendation system uses these known
ratings to predict the ratings that each user would
give to those not rated movies by him/her.
 Recommendations of movies are then made to
each user based on the predicted ratings.
CS583, Bing Liu, UIC 4
Different variations
 In some applications, there is no rating
information while in some others there are also
additional attributes
 about each user (e.g., age, gender, income, marital
status, etc), and/or
 about each movie (e.g., title, genre, director,
leading actors or actresses, etc).
 When no rating information, the system will not
predict ratings but predict the likelihood that a
user will enjoy watching a movie.
CS583, Bing Liu, UIC 5
The Recommendation Problem
 We have a set of users U and a set of items S
to be recommended to the users.
 Let p be an utility function that measures the
usefulness of item s (∈ S) to user u (∈ U), i.e.,
 p:U×S → R, where R is a totally ordered set (e.g.,
non-negative integers or real numbers in a range)
 Objective
 Learn p based on the past data
 Use p to predict the utility value of each item s (∈
S) to each user u (∈ U)
CS583, Bing Liu, UIC 6
As Prediction
 Rating prediction, i.e., predict the rating score
that a user is likely to give to an item that s/he
has not seen or used before. E.g.,
 rating on an unseen movie. In this case, the utility
of item s to user u is the rating given to s by u.
 Item prediction, i.e., predict a ranked list of
items that a user is likely to buy or use.
CS583, Bing Liu, UIC 7
Two basic approaches
 Content-based recommendations:
 The user will be recommended items similar to the
ones the user preferred in the past;
 Collaborative filtering (or collaborative
recommendations):
 The user will be recommended items that people
with similar tastes and preferences liked in the past.
 Hybrids: Combine collaborative and content-
based methods.
CS583, Bing Liu, UIC 8
 Introduction
 Content-based recommendation
 Collaborative filtering based recommendation
 K-nearest neighbor
 Association rules
 Matrix factorization
CS583, Bing Liu, UIC 9
Content-Based Recommendation
 Perform item recommendations by predicting
the utility of items for a particular user based
on how “similar” the items are to those that
he/she liked in the past. E.g.,
 In a movie recommendation application, a movie
may be represented by such features as specific
actors, director, genre, subject matter, etc.
 The user’s interest or preference is also
represented by the same set of features, called
the user profile.
CS583, Bing Liu, UIC 10
Content-based recommendation (contd)
 Recommendations are made by comparing
the user profile with candidate items
expressed in the same set of features.
 The top-k best matched or most similar items
are recommended to the user.
 The simplest approach to content-based
recommendation is to compute the similarity
of the user profile with each item.
CS583, Bing Liu, UIC 11
 Introduction
 Content-based recommendation
 Collaborative filtering based recommendations
 K-nearest neighbor
 Association rules
 Matrix factorization
CS583, Bing Liu, UIC 12
Collaborative filtering
 Collaborative filtering (CF) is perhaps the
most studied and also the most widely-used
recommendation approach in practice.
 k-nearest neighbor,
 association rules based prediction, and
 matrix factorization
 Key characteristic of CF: it predicts the utility
of items for a user based on the items
previously rated by other like-minded users.
CS583, Bing Liu, UIC 13
k-nearest neighbor
 kNN (which is also called the memory-based
approach) utilizes the entire user-item
database to generate predictions directly, i.e.,
there is no model building.
 This approach includes both
 User-based methods
 Item-based methods
CS583, Bing Liu, UIC 14
User-based kNN CF
 A user-based kNN collaborative filtering
method consists of two primary phases:
 the neighborhood formation phase and
 the recommendation phase.
 There are many specific methods for both.
Here we only introduce one for each phase.
CS583, Bing Liu, UIC 15
Neighborhood formation phase
 Let the record (or profile) of the target user be
u (represented as a vector), and the record of
another user be v (v ∈ T).
 The similarity between the target user, u, and
a neighbor, v, can be calculated using the
Pearson’s correlation coefficient:
CS583, Bing Liu, UIC 16
,
)()(
))((
),(
2
,
2
,
,,
∑∑
∑
∈∈
∈
−−
−−
=
Ci iCi i
Ci ii
rrrr
rrrr
sim
vvuu
vvuu
vu
Recommendation Phase
 Use the following formula to compute the
rating prediction of item i for target user u
where V is the set of k similar users, rv,i is the
rating of user v given to item i,
CS583, Bing Liu, UIC 17
∑
∑
∈
∈
−×
+=
V
V i
sim
rrsim
rip
v
v vv
u
vu
vu
u
),(
)(),(
),(
,
Issue with the user-based kNN CF
 The problem with the user-based formulation
of collaborative filtering is the lack of
scalability:
 it requires the real-time comparison of the target
user to all user records in order to generate
predictions.
 A variation of this approach that remedies
this problem is called item-based CF.
CS583, Bing Liu, UIC 18
Item-based CF
 The item-based approach works by
comparing items based on their pattern of
ratings across users. The similarity of items i
and j is computed as follows:
CS583, Bing Liu, UIC 19
∑∑
∑
∈∈
∈
−−
−−
=
U jU i
U ji
rrrr
rrrr
jisim
u uuu uu
u uuuu
2
,
2
,
,,
)()(
))((
),(
Recommendation phase
 After computing the similarity between items
we select a set of k most similar items to the
target item and generate a predicted value of
user u’s rating
where J is the set of k similar items
CS583, Bing Liu, UIC 20
∑
∑
∈
∈
×
=
Jj
Jj j
jisim
jisimr
ip
),(
),(
)(
,u
u,
 Introduction
 Content-based recommendation
 Collaborative filtering based recommendation
 K-nearest neighbor
 Association rules
 Matrix factorization
CS583, Bing Liu, UIC 21
Association rule-based CF
 Association rules obviously can be used for
recommendation.
 Each transaction for association rule mining
is the set of items bought by a particular user.
 We can find item association rules, e.g.,
buy_X, buy_Y -> buy_Z
 Rank items based on measures such as
confidence, etc.
 See Chapter 3 for details
CS583, Bing Liu, UIC 22
 Introduction
 Content-based recommendation
 Collaborative filtering based recommendation
 K-nearest neighbor
 Association rules
 Matrix factorization
CS583, Bing Liu, UIC 23

More Related Content

What's hot

Recommendation system
Recommendation systemRecommendation system
Recommendation systemRishabh Mehta
 
Collaborative Filtering using KNN
Collaborative Filtering using KNNCollaborative Filtering using KNN
Collaborative Filtering using KNNŞeyda Hatipoğlu
 
Recommendation Systems Basics
Recommendation Systems BasicsRecommendation Systems Basics
Recommendation Systems BasicsJarin Tasnim Khan
 
Introduction to Recommendation Systems
Introduction to Recommendation SystemsIntroduction to Recommendation Systems
Introduction to Recommendation SystemsTrieu Nguyen
 
Item Based Collaborative Filtering Recommendation Algorithms
Item Based Collaborative Filtering Recommendation AlgorithmsItem Based Collaborative Filtering Recommendation Algorithms
Item Based Collaborative Filtering Recommendation Algorithmsnextlib
 
Movies Recommendation System
Movies Recommendation SystemMovies Recommendation System
Movies Recommendation SystemShubham Patil
 
Survey of Recommendation Systems
Survey of Recommendation SystemsSurvey of Recommendation Systems
Survey of Recommendation Systemsyoualab
 
Recommender system introduction
Recommender system   introductionRecommender system   introduction
Recommender system introductionLiang Xiang
 
Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender systemStanley Wang
 
Recommendation system
Recommendation systemRecommendation system
Recommendation systemSAIFUR RAHMAN
 
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 filteringViet-Trung TRAN
 
Recommendation System Explained
Recommendation System ExplainedRecommendation System Explained
Recommendation System ExplainedCrossing Minds
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemMilind Gokhale
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender SystemsDavid Zibriczky
 
Recommender Systems! @ASAI 2011
Recommender Systems! @ASAI 2011Recommender Systems! @ASAI 2011
Recommender Systems! @ASAI 2011Ernesto Mislej
 
Introduction to Recommendation System
Introduction to Recommendation SystemIntroduction to Recommendation System
Introduction to Recommendation SystemMinha Hwang
 

What's hot (20)

Recommendation system
Recommendation systemRecommendation system
Recommendation system
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Collaborative Filtering using KNN
Collaborative Filtering using KNNCollaborative Filtering using KNN
Collaborative Filtering using KNN
 
Recommendation Systems Basics
Recommendation Systems BasicsRecommendation Systems Basics
Recommendation Systems Basics
 
Introduction to Recommendation Systems
Introduction to Recommendation SystemsIntroduction to Recommendation Systems
Introduction to Recommendation Systems
 
Item Based Collaborative Filtering Recommendation Algorithms
Item Based Collaborative Filtering Recommendation AlgorithmsItem Based Collaborative Filtering Recommendation Algorithms
Item Based Collaborative Filtering Recommendation Algorithms
 
Recommender system
Recommender systemRecommender system
Recommender system
 
Movies Recommendation System
Movies Recommendation SystemMovies Recommendation System
Movies Recommendation System
 
Survey of Recommendation Systems
Survey of Recommendation SystemsSurvey of Recommendation Systems
Survey of Recommendation Systems
 
Recommender system introduction
Recommender system   introductionRecommender system   introduction
Recommender system introduction
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender system
 
Recommendation system
Recommendation systemRecommendation system
Recommendation 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
 
Recommendation System Explained
Recommendation System ExplainedRecommendation System Explained
Recommendation System Explained
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation System
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender Systems
 
Recommender Systems! @ASAI 2011
Recommender Systems! @ASAI 2011Recommender Systems! @ASAI 2011
Recommender Systems! @ASAI 2011
 
Introduction to Recommendation System
Introduction to Recommendation SystemIntroduction to Recommendation System
Introduction to Recommendation System
 

Similar to Project presentation

CS583-recommender-systems.ppt
CS583-recommender-systems.pptCS583-recommender-systems.ppt
CS583-recommender-systems.pptArfatAhmadKhan1
 
Recommender system
Recommender systemRecommender system
Recommender systemSaiguru P.v
 
Introduction to recommendation system
Introduction to recommendation systemIntroduction to recommendation system
Introduction to recommendation systemAravindharamanan S
 
introduction to machine learning 3d-collab-filtering.pptx
introduction to machine learning 3d-collab-filtering.pptxintroduction to machine learning 3d-collab-filtering.pptx
introduction to machine learning 3d-collab-filtering.pptxPratik Gohel
 
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...Malim Siregar
 
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 SystemIJTET Journal
 
Movie recommendation Engine using Artificial Intelligence
Movie recommendation Engine using Artificial IntelligenceMovie recommendation Engine using Artificial Intelligence
Movie recommendation Engine using Artificial IntelligenceHarivamshi D
 
Recommendation System using Machine Learning Techniques
Recommendation System using Machine Learning TechniquesRecommendation System using Machine Learning Techniques
Recommendation System using Machine Learning TechniquesIRJET Journal
 
Digital Trails Dave King 1 5 10 Part 2 D3
Digital Trails   Dave King   1 5 10   Part 2   D3Digital Trails   Dave King   1 5 10   Part 2   D3
Digital Trails Dave King 1 5 10 Part 2 D3Dave King
 
Movie recommendation project
Movie recommendation projectMovie recommendation project
Movie recommendation projectAbhishek Jaisingh
 
Recommenders Systems
Recommenders SystemsRecommenders Systems
Recommenders SystemsTariq Hassan
 
An Adaptive Framework for Enhancing Recommendation Using Hybrid Technique
An Adaptive Framework for Enhancing Recommendation Using Hybrid TechniqueAn Adaptive Framework for Enhancing Recommendation Using Hybrid Technique
An Adaptive Framework for Enhancing Recommendation Using Hybrid Techniqueijcsit
 
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERING
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERINGMOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERING
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERINGIRJET Journal
 
Movie Recommender System Using Artificial Intelligence
Movie Recommender System Using Artificial Intelligence Movie Recommender System Using Artificial Intelligence
Movie Recommender System Using Artificial Intelligence Shrutika Oswal
 
Recommendation Systems
Recommendation SystemsRecommendation Systems
Recommendation SystemsRobin Reni
 
Analysing the performance of Recommendation System using different similarity...
Analysing the performance of Recommendation System using different similarity...Analysing the performance of Recommendation System using different similarity...
Analysing the performance of Recommendation System using different similarity...IRJET Journal
 
movierecommendationproject-171223181147.pptx
movierecommendationproject-171223181147.pptxmovierecommendationproject-171223181147.pptx
movierecommendationproject-171223181147.pptxAryanVyawahare
 
Advances In Collaborative Filtering
Advances In Collaborative FilteringAdvances In Collaborative Filtering
Advances In Collaborative FilteringScott Donald
 

Similar to Project presentation (20)

Cs583 recommender-systems
Cs583 recommender-systemsCs583 recommender-systems
Cs583 recommender-systems
 
CS583-recommender-systems.ppt
CS583-recommender-systems.pptCS583-recommender-systems.ppt
CS583-recommender-systems.ppt
 
Recommender system
Recommender systemRecommender system
Recommender system
 
Introduction to recommendation system
Introduction to recommendation systemIntroduction to recommendation system
Introduction to recommendation system
 
introduction to machine learning 3d-collab-filtering.pptx
introduction to machine learning 3d-collab-filtering.pptxintroduction to machine learning 3d-collab-filtering.pptx
introduction to machine learning 3d-collab-filtering.pptx
 
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...
Improving-Movie-Recommendation-Systems-Filtering-by-Exploiting-UserBased-Revi...
 
B1802021823
B1802021823B1802021823
B1802021823
 
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
 
Movie recommendation Engine using Artificial Intelligence
Movie recommendation Engine using Artificial IntelligenceMovie recommendation Engine using Artificial Intelligence
Movie recommendation Engine using Artificial Intelligence
 
Recommendation System using Machine Learning Techniques
Recommendation System using Machine Learning TechniquesRecommendation System using Machine Learning Techniques
Recommendation System using Machine Learning Techniques
 
Digital Trails Dave King 1 5 10 Part 2 D3
Digital Trails   Dave King   1 5 10   Part 2   D3Digital Trails   Dave King   1 5 10   Part 2   D3
Digital Trails Dave King 1 5 10 Part 2 D3
 
Movie recommendation project
Movie recommendation projectMovie recommendation project
Movie recommendation project
 
Recommenders Systems
Recommenders SystemsRecommenders Systems
Recommenders Systems
 
An Adaptive Framework for Enhancing Recommendation Using Hybrid Technique
An Adaptive Framework for Enhancing Recommendation Using Hybrid TechniqueAn Adaptive Framework for Enhancing Recommendation Using Hybrid Technique
An Adaptive Framework for Enhancing Recommendation Using Hybrid Technique
 
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERING
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERINGMOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERING
MOVIE RECOMMENDATION SYSTEM USING COLLABORATIVE FILTERING
 
Movie Recommender System Using Artificial Intelligence
Movie Recommender System Using Artificial Intelligence Movie Recommender System Using Artificial Intelligence
Movie Recommender System Using Artificial Intelligence
 
Recommendation Systems
Recommendation SystemsRecommendation Systems
Recommendation Systems
 
Analysing the performance of Recommendation System using different similarity...
Analysing the performance of Recommendation System using different similarity...Analysing the performance of Recommendation System using different similarity...
Analysing the performance of Recommendation System using different similarity...
 
movierecommendationproject-171223181147.pptx
movierecommendationproject-171223181147.pptxmovierecommendationproject-171223181147.pptx
movierecommendationproject-171223181147.pptx
 
Advances In Collaborative Filtering
Advances In Collaborative FilteringAdvances In Collaborative Filtering
Advances In Collaborative Filtering
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Project presentation

  • 2.  Introduction  Content-based recommendation  Collaborative filtering based recommendation  K-nearest neighbor  Association rules  Matrix factorization CS583, Bing Liu, UIC 2
  • 3. Introduction  Recommender systems are widely used on the Web for recommending products and services to users.  Most e-commerce sites have such systems.  These systems serve two important functions.  They help users deal with the information overload by giving them recommendations of products, etc.  They help businesses make more profits, i.e., selling more products. CS583, Bing Liu, UIC 3
  • 4. E.g., movie recommendation  The most common scenario is the following:  A set of users has initially rated some subset of movies (e.g., on the scale of 1 to 5) that they have already seen.  These ratings serve as the input. The recommendation system uses these known ratings to predict the ratings that each user would give to those not rated movies by him/her.  Recommendations of movies are then made to each user based on the predicted ratings. CS583, Bing Liu, UIC 4
  • 5. Different variations  In some applications, there is no rating information while in some others there are also additional attributes  about each user (e.g., age, gender, income, marital status, etc), and/or  about each movie (e.g., title, genre, director, leading actors or actresses, etc).  When no rating information, the system will not predict ratings but predict the likelihood that a user will enjoy watching a movie. CS583, Bing Liu, UIC 5
  • 6. The Recommendation Problem  We have a set of users U and a set of items S to be recommended to the users.  Let p be an utility function that measures the usefulness of item s (∈ S) to user u (∈ U), i.e.,  p:U×S → R, where R is a totally ordered set (e.g., non-negative integers or real numbers in a range)  Objective  Learn p based on the past data  Use p to predict the utility value of each item s (∈ S) to each user u (∈ U) CS583, Bing Liu, UIC 6
  • 7. As Prediction  Rating prediction, i.e., predict the rating score that a user is likely to give to an item that s/he has not seen or used before. E.g.,  rating on an unseen movie. In this case, the utility of item s to user u is the rating given to s by u.  Item prediction, i.e., predict a ranked list of items that a user is likely to buy or use. CS583, Bing Liu, UIC 7
  • 8. Two basic approaches  Content-based recommendations:  The user will be recommended items similar to the ones the user preferred in the past;  Collaborative filtering (or collaborative recommendations):  The user will be recommended items that people with similar tastes and preferences liked in the past.  Hybrids: Combine collaborative and content- based methods. CS583, Bing Liu, UIC 8
  • 9.  Introduction  Content-based recommendation  Collaborative filtering based recommendation  K-nearest neighbor  Association rules  Matrix factorization CS583, Bing Liu, UIC 9
  • 10. Content-Based Recommendation  Perform item recommendations by predicting the utility of items for a particular user based on how “similar” the items are to those that he/she liked in the past. E.g.,  In a movie recommendation application, a movie may be represented by such features as specific actors, director, genre, subject matter, etc.  The user’s interest or preference is also represented by the same set of features, called the user profile. CS583, Bing Liu, UIC 10
  • 11. Content-based recommendation (contd)  Recommendations are made by comparing the user profile with candidate items expressed in the same set of features.  The top-k best matched or most similar items are recommended to the user.  The simplest approach to content-based recommendation is to compute the similarity of the user profile with each item. CS583, Bing Liu, UIC 11
  • 12.  Introduction  Content-based recommendation  Collaborative filtering based recommendations  K-nearest neighbor  Association rules  Matrix factorization CS583, Bing Liu, UIC 12
  • 13. Collaborative filtering  Collaborative filtering (CF) is perhaps the most studied and also the most widely-used recommendation approach in practice.  k-nearest neighbor,  association rules based prediction, and  matrix factorization  Key characteristic of CF: it predicts the utility of items for a user based on the items previously rated by other like-minded users. CS583, Bing Liu, UIC 13
  • 14. k-nearest neighbor  kNN (which is also called the memory-based approach) utilizes the entire user-item database to generate predictions directly, i.e., there is no model building.  This approach includes both  User-based methods  Item-based methods CS583, Bing Liu, UIC 14
  • 15. User-based kNN CF  A user-based kNN collaborative filtering method consists of two primary phases:  the neighborhood formation phase and  the recommendation phase.  There are many specific methods for both. Here we only introduce one for each phase. CS583, Bing Liu, UIC 15
  • 16. Neighborhood formation phase  Let the record (or profile) of the target user be u (represented as a vector), and the record of another user be v (v ∈ T).  The similarity between the target user, u, and a neighbor, v, can be calculated using the Pearson’s correlation coefficient: CS583, Bing Liu, UIC 16 , )()( ))(( ),( 2 , 2 , ,, ∑∑ ∑ ∈∈ ∈ −− −− = Ci iCi i Ci ii rrrr rrrr sim vvuu vvuu vu
  • 17. Recommendation Phase  Use the following formula to compute the rating prediction of item i for target user u where V is the set of k similar users, rv,i is the rating of user v given to item i, CS583, Bing Liu, UIC 17 ∑ ∑ ∈ ∈ −× += V V i sim rrsim rip v v vv u vu vu u ),( )(),( ),( ,
  • 18. Issue with the user-based kNN CF  The problem with the user-based formulation of collaborative filtering is the lack of scalability:  it requires the real-time comparison of the target user to all user records in order to generate predictions.  A variation of this approach that remedies this problem is called item-based CF. CS583, Bing Liu, UIC 18
  • 19. Item-based CF  The item-based approach works by comparing items based on their pattern of ratings across users. The similarity of items i and j is computed as follows: CS583, Bing Liu, UIC 19 ∑∑ ∑ ∈∈ ∈ −− −− = U jU i U ji rrrr rrrr jisim u uuu uu u uuuu 2 , 2 , ,, )()( ))(( ),(
  • 20. Recommendation phase  After computing the similarity between items we select a set of k most similar items to the target item and generate a predicted value of user u’s rating where J is the set of k similar items CS583, Bing Liu, UIC 20 ∑ ∑ ∈ ∈ × = Jj Jj j jisim jisimr ip ),( ),( )( ,u u,
  • 21.  Introduction  Content-based recommendation  Collaborative filtering based recommendation  K-nearest neighbor  Association rules  Matrix factorization CS583, Bing Liu, UIC 21
  • 22. Association rule-based CF  Association rules obviously can be used for recommendation.  Each transaction for association rule mining is the set of items bought by a particular user.  We can find item association rules, e.g., buy_X, buy_Y -> buy_Z  Rank items based on measures such as confidence, etc.  See Chapter 3 for details CS583, Bing Liu, UIC 22
  • 23.  Introduction  Content-based recommendation  Collaborative filtering based recommendation  K-nearest neighbor  Association rules  Matrix factorization CS583, Bing Liu, UIC 23