liveBook · Manning

Collaborative filtering

Collaborative filtering is a recommendation technique that infers preferences or associations from interaction patterns among users, items, or other entities.

How 6 Manning books explain it

AI Recommender Systems

A collaborative-filtering technique that recommends items using the preferences of users with similar interaction patterns.

How it is used
Powers personalized and item-seeded recommendations from collective user–item behavior.
How deep it goes
Works through matrix-based user and item similarity, then introduces ALS factors and validation-guided tuning.
Examples
Uses synthetic comic co-consumption, MovieLens ratings, user recommendations, and similar-movie results.
What you can do after
Build it from scratch with user–item overlap, then apply ALS-based retrieval while planning cold-start fallbacks.

Read how AI Recommender Systems explains collaborative filtering →

AI-Powered Search

Collaborative recommendation predicts items or content a user may prefer from the behavior and preferences of similar users.

How it is used
Uses interaction patterns to generate recommendations and personalize search results for individual users.
How deep it goes
Explains interaction matrices, overlap-based recommendations, feedback loops, and latent-factor decomposition; identifies an implementation without detailing its steps.
Examples
Uses fertilizer, soil, mulch, and a separate tools cluster to illustrate recommendations from overlapping user behaviors.
What you can do after
Evaluate and understand how interaction signals support personalized recommendations and when content-based matching can mitigate sparse data.

Read how AI-Powered Search explains collaborative filtering →

The Art of AI Product Development

A collaborative-filtering approach that compares users and recommends items based on the preferences of similar users.

How it is used
Deploys existing behavior data to personalize product or content recommendations and support an initial personalization feature.
How deep it goes
Defines user-based and item-based approaches, then extends treatment to testing, feedback, metrics, and cold-start limitations.
Examples
Uses shared shoe purchases, product interactions, click-through rates, conversions, browsing time, and thumbs-up or thumbs-down feedback.
What you can do after
Apply collaborative filtering to recommend items, compare filtering strategies, and refine results through metrics, experiments, and feedback.

Read how The Art of AI Product Development explains collaborative filtering →

Hidden Influences

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

How it is used
Uses similarities in user preferences or item interactions to generate recommendations.
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.

Read how Hidden Influences explains collaborative filtering →

Knowledge Graphs and LLMs in Action

Collaborative filtering is a recommendation technique that infers preferences or associations from patterns across users, items, or entities.

How it is used
Infers drug–disease, drug–target, and treatment associations for pharmaceutical analysis and drug repurposing.
How deep it goes
Defines applied uses and coverage limitations, but stops short of algorithmic implementation details.
Examples
Uses drug–disease associations, drug–target interactions, and drug–disease treatments as prediction targets.
What you can do after
Evaluate association predictions while recognizing that graph coverage constrains the drugs and diseases it can address.

Read how Knowledge Graphs and LLMs in Action explains collaborative filtering →

First-Party Data Activation

A recommendation technique that infers a user's interests from patterns in the preferences or behavior of multiple users.

How it is used
Positions collaborative filtering as a privacy-enhancing approach for personalizing content and interactions.
How deep it goes
Defines its privacy role but stops short of explaining algorithms, data structures, or implementation procedures.
What you can do after
Apply it via privacy-enhancing personalization while limiting stored personal data and intrusive tracking.

Read how First-Party Data Activation explains collaborative filtering →

What to know first

Related concepts

Questions about collaborative filtering

What is collaborative filtering?

Collaborative filtering is a recommendation technique that infers preferences or associations from interaction patterns among users, items, or other entities.

Which Manning books explain collaborative filtering?

AI Recommender Systems, AI-Powered Search, The Art of AI Product Development, Hidden Influences, Knowledge Graphs and LLMs in Action and First-Party Data Activation.

What should I know before learning collaborative filtering?

Manning books that teach collaborative filtering usually introduce recommender system, language model, cold start problem and content-based recommender first.

What is the difference between collaborative filtering and content-based recommender?

Collaborative filtering is a recommendation technique that infers preferences or associations from interaction patterns among users, items, or other entities. A content-based recommender suggests items whose features resemble those of items matching a user’s interests or prior interactions.

What is collaborative filtering a kind of?

Collaborative filtering is a kind of recommender system. A recommender system is a computational system that predicts, selects, or ranks items, content, or actions for users based on available information.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.