Skip to content

Recommender Systems

For people

How recommendations are made — collaborative filtering, content-based methods and hybrids — and how to evaluate them.

Editorial team 2 min read

Share X LinkedIn Reddit Bluesky Email

Recommender systems suggest items a user is likely to want: products, films, articles, courses.

Collaborative Filtering

Uses patterns of behaviour across many users. If people who liked A and B also liked C, recommend C to someone who liked A and B.

  • User-based: find similar users and recommend what they liked.
  • Item-based: find items similar to ones the user liked, based on who interacted with them.
  • Matrix factorisation: learn a compact vector (embedding) for every user and item so that their dot product predicts interest.

Content-Based Filtering

Recommends items similar in their attributes to ones the user liked — genre, keywords, text embeddings. It works for new items with no interaction history.

Hybrid Systems

Most production systems combine both, often in two stages: candidate generation (quickly retrieving hundreds of plausible items) followed by ranking (a detailed model ordering them).

The Cold-Start Problem

New users and new items have no history. Content features, popularity, onboarding questions and exploration help.

Evaluation

  • Offline: precision@k, recall@k, NDCG, measured on held-out interactions, split by time.
  • Online: A/B tests of clicks, purchases or retention — the real test.

Beyond Accuracy

Consider diversity, novelty, fairness to item providers, and avoiding feedback loops where the system only recommends what it already promoted.

Try It

The MovieLens dataset on the glitchdata hub is the standard starting point for building a recommender.

More in Machine learning

All Machine learning guides →
Machine learning Guide · 2 min

Linear Regression Explained

The simplest predictive model: how linear regression fits a line through data, how to read its coefficients, and when it breaks down.

Machine learning 2 min read 21 Sep 2026 For people

Machine learning Guide · 2 min

Logistic Regression for Classification

Despite its name, logistic regression is a classification method. How it produces probabilities and why it remains a strong baseline.

Machine learning 2 min read 20 Sep 2026 For people

Machine learning Guide · 2 min

Decision Trees

How decision trees split data with simple questions, why they are easy to explain, and why single trees overfit.

Machine learning 2 min read 19 Sep 2026 For people

Machine learning Guide · 2 min

Random Forests

Why averaging many randomised decision trees produces a robust, accurate model with little tuning.

Machine learning 2 min read 18 Sep 2026 For people

Discussion 0

Use @handle to bring somebody in, and #tag to file it.

Nothing here yet. Ask a question, or say how you used it.

Sign in to join the discussion. Sign in