chapter two
2 Anatomy of a recommender system
This chapter covers
- Proper nomenclature
- The internal structure of recommender systems
- Training a machine learning based ranker
When thinking about recommender systems, it’s often helpful to consider them as a single operation: given a user’s request for recommendations—for example, when opening a streaming app—they provide a ranked list of suggestions relevant to the user in question. This is called the black box model, a useful abstraction when the details are not important and we want to focus only on the input and output. To better illustrate how things work, let’s now peek under the hood at their main components. This exploration will also uncover the various places where decisions are made about the content we see.