Have you ever wondered how a computer can look at a handwritten digit and know it’s a “7,” or listen to a voice command and translate it into text? At the heart of these modern abilities are artificial neural networks — a system loosely inspired by the brain. In this chapter, we open the hood and see what a neural network is made of, and how it learns from data.