A retail analytics team builds a regression model to predict a store's monthly revenue. The inputs include the store's square footage, the number of sales staff scheduled, and the local population within five miles. The team also includes each store's actual monthly revenue from the past three years so the model can learn the relationship between the inputs and that outcome. In this dataset, what role does 'actual monthly revenue' play?
Select an answer to reveal the explanation.
Short Explanation
Think of this dataset as having two kinds of columns: the clues and the answer key. Square footage, staff count, and local population are the clues, the things the model gets to look at when it's trying to make a guess. Past monthly revenue is the answer key, the actual outcome the model is trying to learn to reproduce from those clues. That's what makes it the label rather than a feature, it's not something the model uses to predict, it's the thing being predicted. It's not a setting the team dials in ahead of time either, those are configuration choices made before any data is touched, this is a real recorded outcome pulled straight from the data. And it's not just a slice set aside for testing at the end, it's actively used throughout training as the target the model keeps trying to get closer to.
Full Explanation
The correct answer is D. Actual monthly revenue is the known outcome the model is trying to learn to predict from the other inputs, which makes it the label; the model is trained by comparing its predictions against this recorded value and adjusting until it gets closer. Option A is incorrect because features are the explanatory inputs fed into the model, such as square footage, staff count, and local population, and revenue is the target the model produces an estimate of, not an input used to generate that estimate. Option B is incorrect because a hyperparameter is a setting chosen by the engineer before training, such as how many training passes to run, and it is not a value drawn from the historical data at all. Option C is incorrect because a validation split is a portion of the dataset set aside purely for evaluating the trained model's performance, whereas the past revenue figures described here are used throughout training as the target value the model learns to match, not merely held back for a later check.