Intuition
Labels are the answer key. They tell the model what output should be associated with each training example.
Technical definition
A label is the dependent variable or target value used in supervised learning objectives, classification losses, or regression losses.
Example
In a medical image dataset, the label may say whether a scan shows pneumonia.
Common misunderstandings
- Labels can be noisy or subjective.
- A label is not necessarily the same as truth; it is the target recorded in the dataset.