Imagine opening a streaming service and seeing a list of movies that feel hand-picked just for you, or noticing that a social network suggests a new friend you actually know. These conveniences are not magic — they come from recommendation systems. In this chapter, we will build the core ideas behind how machines learn to predict what you might like or who you might know.