A rule from examples
Imagine a model learning to distinguish photos of cats from photos of dogs. We show it examples with known answers. After training, it recognizes every one of those photos correctly.
Is that enough for a good model? It may have simply memorized familiar examples. What matters is whether it can identify an animal in a new photo that was not used for training.
Applying a learned rule to new examples is called generalization. To test it, we need separate data that was not used for training. This data should resemble the model's future tasks.
The first question checks this idea. Then we introduce objects, features and errors. The mathematical parts build on probability, linear algebra and basic Python; see the course map for a suggested order.