Machine Learning with Spark - Second Edition
by Rajdeep Dua, Brian O'Neill, Stephen Boesch, Manpreet Singh Ghotra, Nick Pentreath
Collaborative filtering
Collaborative filtering relies only on past behavior, such as previous ratings or transactions. The idea behind this is the notion of similarity.
The basic idea is that the user gives ratings to items, implicitly or explicitly. Users who had a similar taste in the past will have a similar taste in the future.
In a user-based approach, if two users have exhibited similar preferences, that is, patterns of interacting with the same items in broadly the same way, then we would assume that they are similar to each other in terms of taste. To generate recommendations for unknown items for a given user, we can use the known preferences of other users that exhibit similar behavior. We can do this by selecting a set of similar ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access