PrepCity

Design a recommendation system: “Recommended for you”

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 14 pages · about 13 min

Design a recommendation system: “Recommended for you”

The shop’s home page shows each shopper a row of products picked for them. Built the way large shops and feeds build it: cheap candidate sources, a light ranker, a heavy ranker that predicts several actions, rules over the row, and a log that turns every row shown into training data.

What it is
A recommender picks, for one person right now, a few items out of a catalogue far too big to show. It learns from what people did with the items it showed them before.
What it is for
A row that fits the shopper sells more and wastes less of their attention than a row of best sellers that is the same for everybody.
Use it when
When the catalogue is too big to browse and people differ in what they want: shops, video, music, news, jobs. With a few dozen items, a sorted list is enough.

Words you’ll learn

  • Row
  • Feature store
  • Candidate source
  • Two-tower retrieval
  • Embedding
  • Approximate search
  • Ranking funnel
  • Re-ranker
  • Dashboard
  • Model weights

Page by page