liveBook · Manning

Label

As explained in Effective Data Analysis

A class label is the categorical value assigned to an observation to identify its class.

A class label is a categorical value assigned to an observation to identify its class. When that class is what a model aims to predict, the label is the outcome, or dependent variable. Predictors are the inputs used to estimate it. section 9.1 section 9.1.2

Not every category in a dataset is an outcome label. Treatment and control identify comparison groups; an experiment measures an outcome to compare those groups. Likewise, a high-versus-low precipitation indicator can be an input to a model. Its categorical values do not make it the outcome. section 3.2.4 section 9.3.1

Decide which variable answers the question before assigning modeling roles. A model built to predict a category calls for a class label; the worked housing-price model instead estimates a numeric outcome. Classification is noted, but a class-label prediction workflow is not worked through here. section 9.1.2 section 9.1

How Effective Data Analysis covers it

How deep it goes
Explains predictor–outcome roles and mentions classification, but stops short of a worked class-label model.
Examples
Contrasts a binary precipitation predictor with the numeric house-price outcome used in a worked regression.
What you can do after
Evaluate/understand whether a categorical value is the outcome to predict or an input identifying a comparison group.
How it connects
Connects labels to dependent variables and classification, while distinguishing them from independent variables and experimental group assignment.

Also explained in

Compare how 20 books explain label →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Data Analysis. The section links point to the parts of the book it draws on.