Lesson_08_Recommender_Systems
Lesson_08_Recommender_Systems
Recommender Systems
Learning Objectives
The new engine will gather, analyze and filter data in real-time, serving a global
user base with advanced search and upsell capabilities. Personalized
recommendations will be provided to customers, enhancing the overall user
experience and increasing engagement.
Collaborative filtering
Content-based filtering
2
Hybrid filtering
Working of Recommendation Engines
1
2
Example: Netflix recommendations based
Hybrids filtering: benefits from the advantages
on users’ watch history as well as search
of the other two types
habits of similar viewers
Recommendation Engines
Analytical techniques may be implemented in real time (in seconds) or near real time (in minutes) and
may also be performed in batches.
From the news feed on our phones to e-commerce products, the work of recommender systems is
visible everywhere.
Recommendation engines are responsible for the personalization of products ranging from clothing to
offers on gadgets, jewelry designs and food.
Past purchases
Content interactions
Social Media Platforms
It enables personalized product discovery by users and helps businesses showcase the right stock
keeping units (SKUs) to customers and customize discounts, plans and other offerings.
Media Platforms
They use recommendation engines to show the most relevant content to users based on their history
and interactions.
Each user receives unique search results that are tailored to them based on their past clicks and
activities.
2 Advertising engines
4
Retail outlets 3
Search engines
Design Factors
While designing recommendation engines, one must consider the main purpose of the application.
Example
The application can be for a global user base, hyperlocal, or highly customized.
Examples of Recommender Systems
Let us examine the design of recommendation systems with some sector-specific use cases.
In retail, recommendation engines come with advanced search and upsell capabilities.
Examples of Recommender Systems
Retailers like H&M recommend Others also bought products for users searching for fitted tops.
Examples of Recommender Systems
After selecting a particular top, recommender systems also recommend the tops that others have
bought under Others also bought.
Examples of Recommender Systems
Sites like Goodreads provide READERS ALSO ENJOYED and See similar books options.
Upsell features such as More Like This keep viewers hooked to such portals.
Examples of Recommender Systems
Recommendations like Related to items you’ve viewed can be seen on e-commerce sites.
Constant feedback from users is essential for the engines to make relevant recommendations.
Discussion: Recommender Systems
• What is PyTorch?
Example
If users A and B like item T1 and user B likes item T2, then user A might have a
higher chance of liking T2 based on preference similarity.
Leveraging PyTorch
Since the goal is to produce predictions for every combination, the data complexity becomes high.
Since the goal is to produce predictions for every combination, the data complexity becomes high.
It is a recommendation engine where user predictions are based on the item or user similarity.
The time-space complexity for all combinations in memory-based recommendation engines may be
very high if all combinations of item preferences are considered.
Types of Collaborative Filtering: Model Based
• What is PyTorch?
Answer: PyTorch is an open-source machine learning (ML)
framework based on the Python programming language and the
Torch library. It is used for developing and training neural network-
based deep learning models.
Note: Please download the pdf files for each topics mentioned above from the Reference
Material section.
Key Takeaways
There are three types of recommendation engines: collaborative filtering, content-based filtering and
hybrid.
Knowledge
Check
What is the purpose of data collection in recommendation engines?
2
Data collection is the first step in the recommendation engine process, and it involves procuring data
such as page views, view history, or cart events.
Knowledge
Check
What is collaborative filtering?
3