by Samy (Kondasamy Jayaraman)

Module 44 · Recommendations

Intermediate

Why the shop shows you this drill

Larkspur’s shop wants a “you might also need” shelf. Here you build it from orders: bestsellers, people like you, two hidden numbers each, and the loop the shelf feeds.

Read as

The whole idea in one example

Each customer’s hidden next order

Bestsellers for everyone

found

10 of 60

The same five for everyone miss most next orders.

Bought together

found

31 of 60

Products the same customers bought fill each basket’s shelf.

Counts come from hand-written orders: made-up trade customers, not real data.

How it works

Four ideas carry the module

  1. 1 Bestsellers

    One shelf for everyone: the top sellers, less what you own

    Amazon’s Linden, Smith and York (2003) report that clicks and sales from their personal recommendations vastly beat those from content shown to everyone, such as top-seller lists.

    Source, checked 30 October 2026

  2. 2 People like you

    Customers whose baskets overlap fill each other’s shelves

    Resnick et al.’s GroupLens (1994) guessed which news articles a reader would like from other readers’ ratings, on the rule that people who agreed in the past will probably agree again.

    Source, checked 30 October 2026

  3. 3 Hidden tastes

    Two numbers each: the shelf ranks what points your way

    Koren, Bell and Volinsky (IEEE Computer, 2009) write that, as the Netflix Prize showed, matrix factorization models beat classic nearest-neighbour methods at product recommendations.

    Source, checked 28 October 2026

  4. 4 The loop

    The shelf trains on its own sales; unshown products fade

    Chaney, Stewart and Engelhardt (RecSys 2018) note that recommenders are trained on data from users already shown recommendations, a feedback loop.

    Source, checked 28 October 2026

The story

Larkspur’s shop, one shelf at a time

Larkspur Supply Co. builds a “you might also need” shelf; the team learns that a recommender ranks by what people like you bought, and that what it shows shapes what gets bought next. You’re on the team that builds it.

60
trade customers in Larkspur’s hand-written orders
40
products in the catalogue, one just launched
6
rounds of the loop in chapter 6
2
settings win chapter 7

Your path

The chapters

  1. Chapter 1

    The bestsellers shelf

    Does one shelf for everyone find what each customer buys next?

  2. Chapter 2

    People like you

    Can similar customers’ baskets fill a better shelf?

  3. Chapter 3

    Bought together

    What does “bought together” put next to a product?

  4. Chapter 4

    Hidden tastes

    How can two numbers stand for a whole basket?

  5. Chapter 5

    The new shopper and the new product

    Where does the shelf put a shopper or product with no orders?

  6. Chapter 6

    The loop

    What happens to products the shelf never shows?

  7. Chapter 7

    Tune the shelf

    Which setting keeps the catalogue alive and still finds next orders?

Who it’s for

  • Product managers
  • Engineers
  • Analysts
  • No code needed

Anyone who owns a “recommended for you” slot, or wonders why it keeps showing the same things. Search ranks from what you type; this module ranks from what you did.