Professional Documents
Culture Documents
Types of Recommendation System
Types of Recommendation System
Types of
Recommendation
Systems
1
Click
Theretoare
edit Master
mainly titletypes
three style of Recommendation Systems
1. Content-based filtering
2. Collaborative filtering
3. Hybrid recommendations
2 2
Click to edit
Pictorial Master title style
descriptions
3 3
Click to edit
Numerical Master title
examples style
of Content-based filtering
4 4
Weights(arbitrary):
Click to edit Master title style
1.Genre weight: 0.6
2.Duration weight: 0.3
3.Rating weight: 0.1
Similarity score (S) between the user’s preference and a movie (X) is calculated as follows:
S(X)=Genre weight×Genre similarity(X)+Duration weight×Duration similarity(X)+ Rating weight×Rating
similarity(X)
Now, let's calculate the similarity scores for the remaining movies:
1.Movie B: S(B)=0.6×0+0.3×(120−90)/120+0.1×(4.5−3.8)/4.5
S(B)≈0.175
2.Movie C: S(C)=0.6×1+0.3×(120−110)/120+0.1×(4.5−4.0)/4.5
S(C)≈0.694
3.Movie D:S(D)=0.6×0+0.3×(120−150)/120+0.1×(4.5−4.2)/4.5
S(D)≈−0.125
Now, based on the similarity scores ,we can recommend Movie C to the user,
As it has the highest similarity score.
5 5
Click to edit Master title style
6 6
Click to edit Master title style
7 7
Click to edit
Numerical Master title
example style
of Collaborative filtering
C 2 4 5 11/3
D 3 3 6/3
8 8
Click
Using to edit Master
Centered title style
cosine,
Ratings are normalized by subtracting row
Strange Potter mean-
Doctor Harry Harry Twilig The Iron Little
Movies 2 Potter ht Notebo Man 2 Women
Users 3 ok
A Here 2/3 the user’s ratings 5/3 -7/3are centered
B
around
1/3
zero.
1/3
The
-2/3
missing ratings are
treated
C
D
as Zero 0
also. Positive rating0 means
-5/3 1/3 4/3
1010
Numerical example
Click to edit Masteroftitle
Hybrid
stylerecommendation
Example 1:A dataset with movie ratings from users are given by-
1. User A: • We also have movie features:
• Rated Movie X: 4.5 stars 1. Movie X:
• Rated Movie Y: 3.0 stars • Genre: Action
2. User B: • Duration: 120 minutes
• Rated Movie X: 3.0 stars • Rating: 4.0
• Rated Movie Y: 4.5 stars 2. Movie Y:
• Genre: Comedy
• Duration: 90 minutes
• Rating: 3.5
1111
Now this is the hybrid recommendation system that combines
Click to edit Master title style
collaborative filtering and content-based filtering-
their
User1
User2
historical
5
-
interactions
4
3
-
4
with
3
-
jobs-
-
5
User3 4 - 5 3 -
User4 - 5 - - 4
1313
Click to edit Master title style
1414
Click
HybridtoRecommendation:
edit Master title style
A weighted sum approach is used to combine the collaborative filtering and content-based filtering scores. Assuming CF_Weight
is 0.7 and CB_Weight is 0.3.
The hybrid scores for User1 and Job3 is calculated below-
Collaborative Filtering Score (CF_Score(User1, Job3)):
Since User1 has interactions with Job1 and Job4, we can predict User1's preference for Job3 based on similar
users who liked Job3. Let's say the collaborative filtering model predicts a score of 4.
Content-Based Filtering Score (CB_Score(User1, Job3)):
User1 liked jobs with a high skills weight. Job3 has a high skills value. Let's say the content-based filtering
model predicts a score of 0.8.
Hybrid score(User1, Job3) = 0.7*4 + 0.3*0.8 = 3.04
Therefore, the hybrid recommendation system suggests that User1 might like Job3 with a hybrid score of 3.04.
This combines collaborative and content-based filtering to provide a more personalized job recommendation.
Similar calculations can be done for other users and jobs in the recommendation system, and the weights can
be adjusted to achieve the desired balance between collaborative and content-based recommendations. 1515
Click to edit Master title style
End of Slides
16