liveBook · Manning

Collaborative filtering

As explained in Hidden Influences

A recommendation technique that infers preferences from the preferences or behaviors of users or items with similar interaction patterns.

When two moviegoers like many of the same films, a recommender can use that overlap to suggest films one person liked to the other. Collaborative filtering makes recommendations from patterns in users’ preferences or behavior, without needing to categorize what users or items are about. section 2.3.2

The pattern can also come from items: “people who bought X also bought Y” recommends products often bought together. This flexibility lets systems recommend unrelated things, such as mattresses alongside books. Signals may be explicit, like ratings or likes, or implicit, like clicks and viewing time; these signals are not necessarily as informative as they first appear. section 2.3.2

Figure 2.7 An example of a user-item matrix for collaborative filtering. Each cell records the rating of each user for the corresponding item. Note that, in general, users don’t interact with all the items.

A user-item matrix shows how ratings can be recorded, including the gaps where users have not interacted with items. section 2.3.2

How Hidden Influences covers it

How deep it goes
Explains user- and item-based patterns with examples, but does not detail implementation.
Examples
Uses overlapping movie ratings, items bought together, and recommendations mixing mattresses with books.
What you can do after
Understand how patterns in ratings or behavior can generate recommendations without categorizing users or items.
How it connects
Connects recommender systems with explicit feedback, implicit feedback, and user-item matrices.

Also explained in

Compare how 6 books explain collaborative filtering →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Hidden Influences. The section links point to the parts of the book it draws on.