A label is the category assigned to an example in a classification task. Classification uses an example’s attributes to decide which label fits. section 8.14
Classifying animals and devices
An animal’s weight and whether it has wings can help classify it as a bird or not a bird. Similarly, a device’s screen size, weight, and operating system can help classify it as a tablet, laptop, or phone. section 8.15
A label names a category; it is different from the numerical value estimated in regression. For example, predicting a diamond’s price from its carat value is regression, not classification. section 8.14 section 8.11



















