Which feature is an example of a categorical variable?
Answer
City name
Explanation
City name is a label that represents categories rather than a continuous numeric value.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which statement best describes hyperparameters?
View question →
What does “ground truth” typically refer to in supervised machine learning?
View question →
A model predicts a continuous value (e.g., house price). What type of ML problem is this?
View question →
In regression tasks, what does RMSE (Root Mean Squared Error) measure?
View question →
Which metric is commonly used to evaluate classification performance when you care about precision?
View question →
In AWS SageMaker, what is the role of a model artifact?
View question →
QuestionBack to list