RS Unit 1
RS Unit 1
INTRODUCTION
Content-Based Filtering:
Content-based filtering recommends items to users based on the similarity
between the content of the items and the user's preferences. It analyzes the
attributes or features of items and suggests items that are similar to those the
user has liked in the past. For example, in a movie recommendation system, if a
user has liked action movies in the past, the system might recommend other
action movies with similar themes or actors.
Collaborative Filtering:
• Collaborative filtering recommends items to users based on the
preferences of other users. It identifies patterns of user behavior by
analyzing interactions (e.g., ratings, purchases) between users and items.
There are two main approaches within collaborative filtering:
• User-Based Collaborative Filtering: This approach recommends items to a
user based on the preferences of users who are similar to them. If users
A and B have similar tastes and preferences, items liked by user B but not
yet seen by user A might be recommended to user A.
• Item-Based Collaborative Filtering: In this approach, similarities between
items are calculated based on the ratings given to them by users. Items
that are highly rated by users who have also rated the current item
highly are recommended to the user.
Hybrid Recommender Systems:
Hybrid recommender systems combine multiple recommendation techniques
to provide more accurate and diverse recommendations. These systems
leverage the strengths of different approaches to overcome the limitations of
individual methods. For instance, a hybrid system might combine collaborative
filtering with content-based filtering to provide recommendations that consider
both user preferences and item attributes.
Knowledge-Based Recommender Systems:
Knowledge-based recommender systems make recommendations based on
explicit knowledge about user preferences and item properties. These systems
typically require a knowledge base or domain-specific information to generate
recommendations. They are particularly useful when there is limited user data
available or when explicit user preferences are known.
Context-Aware Recommender Systems:
Context-aware recommender systems take into account contextual information
such as time, location, and device to provide more relevant recommendations.
By considering the context in which users interact with the system, these
systems can offer personalized recommendations tailored to the user's current
situation or environment.
2. Trending Recommendations:
Similar to popularity-based systems, trending recommendations suggest
items that are currently popular or experiencing a surge in interest. This
approach is commonly used in social media platforms, where users are
shown trending topics, hashtags, or content.
3. Top-Rated Recommendations:
Some recommender systems simply recommend items that have
received the highest ratings or reviews from users. For instance, an e-
commerce website might showcase products with the highest average
ratings in a particular category.
1. Demographic-Based Recommendations:
These systems recommend items based on demographic information
such as age, gender, or location. For instance, a music streaming service
might suggest playlists curated for specific age groups or geographic
regions.
2. Context-Based Recommendations:
Non-personalized recommendations can also be based on contextual
information such as time of day, weather, or location. For example, a
restaurant recommendation app might suggest nearby dining options
based on the user's current location.
3. Rule-Based Systems:
Rule-based recommender systems use predefined rules or heuristics to
generate recommendations. These rules may be based on domain
knowledge or expert opinion rather than user data. For instance, a recipe
website might recommend side dishes based on the main course
selected by the user.
4. Random Recommendations:
In some cases, recommender systems may provide random
recommendations when personalized or data-driven suggestions are not
available or applicable. This approach can be used as a fallback option or to
introduce users to new content.
Data Mining:
• Data Mining as the “non-trivial extraction of meaningful information
from large amounts of data by automatic or semi-automatic means”.
• Data Mining uses methods and techniques drawn from machine
learning, artificial intelligence, statistics, and database systems. How ever
most of these “traditional” techniques need to be adapted to account for
the high dimensionality and heterogeneity of data that is pervasive in
Data Mining problems.
• The process of data mining typically consists of 3 steps, carried out in
succession: Data Preprocessing, Data Analysis, and Result Interpretation.
Examples of Predictive Analysis: Data mining can be applied to various
domains, such as predicting crop yields, assessing the likelihood of a person
having a disease based on symptoms, forecasting sales of groceries, estimating
the number of customers purchasing clothes, and projecting the expected
profit or loss percentage in the coming year.
The Singular Value Decomposition (SVD), a method from linear algebra that has
been generally used as a dimensionality reduction technique in machine
learning. SVD is a matrix factorisation technique, which reduces the number of
features of a dataset by reducing the space dimension from N-dimension to K-
dimension (where K<N). In the context of the recommender system, the SVD is
used as a collaborative filtering technique. It uses a matrix structure where
each row represents a user, and each column represents an item. The elements
of this matrix are the ratings that are given to items by users.
The latent factors here are the characteristics of the items, for example, the
genre of the music. The SVD decreases the dimension of the utility matrix A by
extracting its latent factors. It maps each user and each item into a r-
dimensional latent space. This mapping facilitates a clear representation of
relationships between users and items.
Similarity Measures