Learn from examples
What does a machine-learning model actually learn?
Understand it
A dataset contains examples. Features describe each example, and a label is the answer for supervised learning. Training adjusts model parameters so inputs map to useful outputs. The model learns statistical patterns, including unwanted patterns in poor data.
Choose a step to inspect it, or run the complete sequence.
A useful analogy
Sorting many objects by examples can reveal a rule, but a misleading set of examples teaches the wrong rule.
Worked example
Use colour and weight as features to classify recyclable objects, while checking that the background does not accidentally reveal the label.
- Choose a simple classification task.
- Write two useful features and one misleading feature.
- Explain how you would label ten examples.
Quick checkWhat is a label?
Answer: It is the target answer associated with a training example in supervised learning.