Target variable

Applies to: python, general

A target variable is the value a model is trained to predict, such as a price, class, or probability.

target = df["revenue"]

See also: feature, label