liveBook · Manning

Label

As explained in Grokking AI Algorithms, Second Edition

A class is a category label assigned to an example in a classification task.

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

How Grokking AI Algorithms, Second Edition covers it

How deep it goes
Defines label assignment and contrasts classification with regression without detailing a label-assignment algorithm.
Examples
Uses bird versus non-bird and tablet, laptop, or phone classifications to illustrate labels.
What you can do after
Evaluate whether a problem calls for classification or regression based on its intended output.
How it connects
Connects labels to classification, attributes, regression, and decision trees.

Also explained in

Compare how 20 books explain label →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking AI Algorithms, Second Edition. The section links point to the parts of the book it draws on.