Professional Documents
Culture Documents
Recommendation System
Recommendation System
MUFADDAL CHALLAWALA
ENROLLMENT NO.:12202050403008
OUTLINE
• Introduction
• Recommendation system
• Types of recommendation systems
• Collaborative filtering system
• User based collaborative filtering
• Item based collaborative filtering
• Advantages and disadvantages of collaborative filtering
Continue…
• About IBCF
• Algorithm for IBCF
• Item similarity computation
• Calculate Recommendation Scoring
INTRODUCTION
• Recommender systems use artificial intelligence (AI) methods to provide users with item
recommendations.
• It is used to help users find new items or services, such as books, music, transportation or
even people, based on information about the user, or the recommended item.
• These systems also play an important role in decision-making, helping users to maximize
profits or minimize risks.
• Today, recommendation systems are used in many information-based companies such as,
Google
Netflix
Twitter
LinkedIn
And many other companies.
RECOMMENDATION SYSTEM
Definitions:
• Recommender system is defined as a decision making strategy for users under complex
information environments.
• Recommender system was defined from the perspective of E-commerce as a tool that helps
users search through records of knowledge which is related to users’ interest and preference.
• Recommender system was defined as a means of assisting and augmenting the social process
of using recommendations of others to make choices when there is no sufficient personal
knowledge or experience of the alternatives.
RECOMMENDATION SYSTEM
• Recommender system has the ability to predict whether a particular user would prefer an
item or not based on the user’s profile.
• Recommender systems are information filtering systems that deal with the problem of
information overload by filtering vital information fragment out of large amount of
dynamically generated information according to user’s preferences, interest, or observed
behavior about item.
• ML algorithms are being used in RSs to provide users with better recommendations.
However, the ML field does not have a clear classification scheme for its algorithms, mainly
because of the number of approaches and the variations proposed in the literature.
• As a consequence, it becomes difficult and confusing to choose an ML algorithm that fits
one’s need when developing an RS
TYPES OF RECOMMENDATION SYSTEM
Advantages:
• It works well on big as well as small data.
• This model helps the users to discover a new interest in a given item but the model might
still recommend it because similar users are interested in that item.
• No need for Domain Knowledge.
Disadvantages:
• It cannot handle new items because the model doesn’t get trained on the newly added items
in the database. This problem is known as Cold Start Problem.
• Side Feature Doesn’t have much importance.
ABOUT IBCF
• Recommendation system have been around for quite
some time now and it helps to show relevant items to
user.
• One such technique to recommend item to user is
ITEM BASED RECOMMANDATION SYSTEM also
known as item-item collaborative filtering or IBCF.
• Item-item collaborative filtering is kind of
recommendation method which looks for similar items
based on the items users have liked or positively
interacted with.
• It was developed by the amazon in 1998 and plays the
great role in success of amazon.
ALGORITHM FOR IBCF
• The item-item collaborative filtering algorithm have 2 steps to predict the item to
recommend to the user:
1 0 0 0
• Second, square the ratings of
2 5 4 20 25 16
movie 1 and movie 2 and sum
3 5 0 25 0
them and then take the square
4 0 0 0
5 4 3 12 16 9
root of the both sum values.
6 5 0 0 25 • After that multiply the square
7 4 4 16 16 16 root value of movie 1 and
8 4 5 20 16 25 movie 2.
9 0 0 0
10 4 5 20 16 25
• We call this final value ‘B’.
• We know which items are comparable but we have yet to know which items to recommend
to users from the list of similar items.
• For this will have to combine our similarity matrix with users' past history of rated items to
generate a recommendation.
• For this we have an equation :
• This equation shows that in order to calculate recommendation score of an item ‘i’ for a user
‘u’ sum the multiplication of an item ‘i’ and ‘j’ similarity with the difference of rating given
by user ‘u’ to an item ‘j’ and the average rating of an item ‘j’.
• Divide the result with the sum of item ‘i’ and ‘j’s similarity, add the output with the user ‘u’s
average rating.
• Doing so will generate a matrix of scores for users and available items. Top scored items can
be recommended to the user.
User 1:Toy Story 2:Star Wars 3:Iron man 4:The
Batman
1 -1 -1 1.87966 2.16432
2 2.6666666 -1 -1 -1
7
3 -1 2.34362743 -1 -1
4 -1 2.6743534 2.89016 2.34542
5 -1 -1 -1 -1
6 1.1324 -1 2.39308 -1
7 -1 -1 -1 -1
8 0.988734 1.16543 -1 -1
9 -1 -1 0.81435 2.56896
10 1.136523 -1 -1 -1
Recommendation score matrix for users
Equation
REFERENCES
1. www.analyticsvidhya.com/blog/2021/07/recommendation-system-understanding-the-basic-c
oncepts
by Shubham Kumar Agrawal — Published On July 13, 2021.
2. Cairo University, Egyptian Informatics Journal (2015).
3. The Use of Machine Learning Algorithms in Recommender Systems: A Systematic Review.
4. Erschienen in: International Journal on Digital Libraries ; 17 (2016), 4. - S. 305-338
Research-paper recommender systems: a literature survey.
5. Guide to item based collaborative filtering by mufaddal qutbuddin – Published on March 7,
2020.