Complex · Where a model’s habits come from, and what running it takes
A model learns what its examples show
Milo has three years of Grace’s markdown notes and wants a model to learn from them. Training data is the set of examples a model learns from, and it learns everything in it. The notes also hold repeats, short-tempered notes and customers’ phone numbers. So the data is cleaned and checked first, and the test examples are kept out of it. Every trained model records which version of the data it learned from.
Example
Maple Mart, Grace’s markdown notes, before training 3 years of notes 4,100 the same note 3 times 380 remove the repeats a customer’s phone number 52 hide the number also in the test set 90 take them out Training data, version 2: 3,630 notes, cleaned and checked.
Try it Yourself
Ninety notes are in both the training data and the test set. Why is that a problem? Answer in a sentence.
Exercise
What does a model learn from its training data?