liveBook · Manning

Label

As explained in Data Without Labels

The target variable is the response or output value that a supervised model is trained to predict.

A label, or target variable, is the output a supervised model is trained to predict. Each historical training example pairs a known label with input attributes, also called independent variables. The model learns patterns from those labeled examples to predict outputs for unseen data. section 1.5.1

The target determines the prediction task: a continuous value such as revenue calls for regression, while a category such as fraudulent or genuine calls for classification. Unsupervised learning instead looks for patterns in input data without referring to a target variable. section 1.5.1 section 1.5.2

Table 1.3 Example of a structured dataset for a telecom operator showing multiple data attributes
ID
Revenue ($)
Duration of service (years)
Avg. cost
Monthly usage (days)
Churned (Y/N)
1001
100
1.1
0.10
10
Y
1002
200
4.1
0.09
25
N
1003
300
5.2
0.05
28
N
1004
200
0.9
0.25
11
Y
1005
100
0.5
0.45
12
Y

In the telecom dataset, “Churned (Y/N)” is the label to predict; revenue, service duration, average cost, and monthly usage are input attributes. section 1.5.1

How Data Without Labels covers it

How deep it goes
Defines the label and distinguishes continuous from categorical targets, without detailing how labels are collected.
Examples
Uses height-to-weight regression, fraud classification, and a telecom dataset with a churned Y/N column.
What it assumes
Defines target and independent variables through historical training examples rather than requiring prior model knowledge.
What you can do after
Evaluate/understand whether a dataset has a target variable and whether its prediction task is regression or classification.
How it connects
Links labels to training examples, independent variables, regression, classification, and the distinction between supervised and unsupervised learning.

Also explained in

Compare how 20 books explain label →

Related concepts

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