Data Analytics
Data Analytics
UE22CS342AA2
UNIT-4
Lecture 56: Introduction to
Recommendation Systems
Gowri Srinivasa
Department of Computer Science and Engineering
Data Analytics
Unit 4: Recommender Systems
Lecture 56: Introduction to Recommendation Systems (T2 Ch 1)
Teaching Assistant:
Ms. Amritha GK, PESU-25, Department of CSE
Slides excerpted from: “Recommender Systems:
The Textbook”, Charu C. Agarwal, Springer Slides collated by:
2016. Mr. Harshith Mohan Kumar, PESU-23, Department of CSE
[email protected]
Ms. Harshitha Srikanth ,VII Sem ,PESU, Department of CSE
Gowri Srinivasa [email protected]
Department of Computer Science and Engineering With grateful thanks for contribution of slides to:
Jyothi R, Professor at the Department of CSE, PESU
Unit IV – DA
Introduction
Outline:
○ Introduction
● Age of Recommendations
● Recommender Problem
● Example: Amazon
○ Basic Models
○ Types of Ratings
○ Challenges
○ Q&A
Unit IV – DA
Age of Recommendations
Bakhtiyari, Kaveh. “The Future Directions of Recommender Systems.” Medium, Futurist Zone, 4 Jan.
2021, https://medium.com/futurist-zone/the-future-directions-of-recommender-systems-72beae7c2dd2.
Unit IV – DA
Recommender Problem
❖ A Good recommender
• Show programming titles to a software engineer and baby toys to a new mother
• Don’t recommend items, which user already knows or would find anyway.
• Expand User’s taste without offending or annoying him/her..
❖ Challenges
• Huge amounts of data, tens of millions of customers and millions of distinct catalog
items.
• Results are required to be returned in real time.
• New customers have limited information.
• Customer data is volatile.
Unit IV – DA
Amazon a Personalized Store
Unit IV – DA
Amazon a Personalized Store
Unit IV – DA
Introduction Chapter (1.1)
● The basic idea of recommender systems is to utilize various sources of data to infer
customer interests.
● Usually the entity to which the recommendation is provided is referred to as the user,
and the product being recommended is also referred to as an item.
● These systems are used to predict the “rating” or “preference” that a user would give
to an item.
● Outline:
○ 1.2 - Main goals of recommender systems
○ 1.3 - Basic models & evaluation methods
○ 1.4 - Advanced models for recommender systems
Unit IV – DA
Goals of Recommender Systems (1.2)
○ For m users and n items, this corresponds to an incomplete mxn matrix, where the
specified values are used for training.
○ In practice, it is not necessary to predict the ratings of users for specific items in order
to make recommendations to users. The determination of the top-k items is more
common than the determination of top-k users.
Unit IV – DA
Prediction vs Ranking
1. Relevance: Users are more likely to consume items they find interesting, rating value for a
user-item combination.
2. Novelty: Recommender systems are truly helpful when the recommended item is something that
the user has not seen in the past. For example, Popular movies of a preferred genre would
rarely be novel to the user.
3. Serendipity: The items recommended are somewhat unexpected, and therefore there is a
modest element of lucky discovery. Recommendations are truly surprising to the user. It leads to
sales diversity or beginning a new trend of interest in the user.
4. Increasing Recommendation Diversity: It has the benefit of ensuring that the user does
not get bored by repeated recommendation of similar items.
Unit IV – DA
Spectrum of Recommendation Applications (1.2.1)
Features of items in I.
A description of U’s needs or Infer a match between I and
Knowledge-based Knowledge of how these
interests. U’s need.
items meet a user’s needs.
Unit IV – DA
Types of Ratings (1.3.1.1)
Explicit vs Implicit
● Explicit
○ To collect explicit feedback from the user, the system must ask users to provide their
ratings for items
○ Requires direct participation from the user
○ Not easy to collect & doesn’t scale: only a small fraction of users leave ratings and
reviews
● Implicit
○ There is no user participation required to gather implicit feedback
○ System automatically tracks users’ preferences by learning ratings from user actions.
○ Ex: Which item they visited, where they clicked, which items they purchased, or how
long they stayed on a web page
○ Advantage of implicit feedback is that it reduces the cold start problems
Ahmad, Zahra. “Recommender Systems: Explicit Feedback, Implicit Feedback and Hybrid Feedback.” Medium, Analytics Vidhya, 23 Feb.
2021, https://medium.com/analytics-vidhya/recommender-systems-explicit-feedback-implicit-feedback-and-hybrid-feedback-
ddd1b2cdb3b.
Unit IV – DA
Domain-Specific Challenges (1.4)
Unary ratings are mainly implicit feedback that we associate from a user to a given
item. Ones of the metrics I would use to evaluate such recommendation systems is Constraint-based Case-based
computing accuracy of estimated rankings either with utility-based measures or
with the receiver operating characteristic (ROC). Read More Specific requirements or Specific targets or cases are
constraints are specified.
specified by the user.
2. Discuss cases in which content-based recommendations will
not perform as well as ratings-based collaborative filtering. The original query is modified by The target is modified through user
addition, interaction, or the search results are
Content-based filtering can recommend a new item, but needs more data of user deletion, modification, or pruned
preference in order to incorporate best match. relaxation of the through the use of directional
original set of user requirements. critiques.
3. List the differences between Constraint-based and Case-based
Recommender systems.
Users are not in a position to Problem is addressed through a
exactly state conversational style of critiquing.
their requirements upfront.
4. Discuss a scenario in which location plays an important role in
the recommendation process.
Unit IV – DA
References
Additional:
● “CS548S15 Showcase Web Mining.” Scribd, Scribd, https://www.scribd.com/presentation/414445910/CS548S15-Showcase-Web-Mining.
● Ahmad, Zahra. “Recommender Systems: Explicit Feedback, Implicit Feedback and Hybrid Feedback.” Medium, Analytics Vidhya, 23 Feb. 2021, https://medium.com/analytics-
vidhya/recommender-systems-explicit-feedback-implicit-feedback-and-hybrid-feedback-ddd1b2cdb3b.
● Wrg, Alexandre. “Image Recommendation Engine - Leverage Transfert Learning.” Medium, Towards Data Science, 8 Apr. 2021, https://towardsdatascience.com/image-
recommendation-engine-leverage-transfert-learning-ec9af32f5239.
● “Lecture 41 - Overview of Recommender Systems | Stanford University.” YouTube, YouTube, 13 Apr. 2016, https://www.youtube.com/watch?v=1JRrCEgiyHM.
● Koidan, Kate. “How Netflix Uses Contextually-Aware Algorithms to Personalize Movie Recommendations.” TOPBOTS, 11 Nov. 2020, https://www.topbots.com/netflix-movie-
recommender-system-rework/
● Pinela, Carlos. “Recommender Systems - User-Based and Item-Based Collaborative Filtering.” Medium, Medium, 6 Nov. 2017, https://medium.com/@cfpinela/recommender-
systems-user-based-and-item-based-collaborative-filtering-5d5f375a127f.
Gowri Srinivasa
Department of CSE, PES University
[email protected]