Separate inputs from labels
Distinguish measured features, known training labels and future predictions in a classification task.
In this lesson
- It starts with a question. A school club measures paper strips and gives each a Long or Short label. Which value is a feature?
- The idea you will find. Connect the idea — Classification predicts a category. In this toy exercise a measured length is an input and Long or Short is the assigned category. Keep the answer out of the input fields when checking an unseen example. A model can imitate labels without those labels being suitable for every future use.
- How you learn it. By doing: matching.
- Length. 5 short steps. Progress saves on this phone.
Part of Test a simple classifier
Use fictional school sorting cards to trace a threshold rule, reserve unseen examples and count errors. This local model exercise does not train or deploy an AI service.