In a dataset used to predict delivery time, which columns would be the label and which would be features?
A.Label = delivery time; features = distance, weather, traffic, package weight
Correct — inputs are features, the target is the label.
B.Label = distance; features = delivery time
Distance is an input — can't be the label for predicting delivery time.
C.Labels and features are interchangeable
They have distinct roles — swapping them inverts the problem.
D.Features = the predicted output; label = the inputs
Reversed definition.
Why this answer
Features (x) are the input variables the model learns from; the label (y) is the value being predicted. 'Past deliveries with known outcomes' provides labeled training data; the model learns f(features) → label.
Correct answer: A · Last reviewed 2026-02-14
Official AWS references
Practice this interactively
Answer without seeing the solution first in the Machine Learning Principles practice session.
Practice Machine Learning Principles