Target
The correct answer that the model has to predict. Everything else in a row of data is a feature, while the target is what the error is computed against.
Notation
- \(X\) — the feature matrix;
- \(y\) — the vector of true target values;
- \(\hat y\) — the model's prediction.
\[
X \rightarrow \text{model} \rightarrow \hat y
\]
Example
| Area | Rooms | Price |
|---|---|---|
| 50 | 2 | 8M |
| 80 | 3 | 12M |
Area and rooms are features, price is the target.
Other Names
target variable, response variable, dependent variable, outcome.