Which of the following is an example of a classification problem?

Answer

Identifying if an email is spam or not spam

Explanation

Classification is a supervised learning task where the model predicts a categorical label (e.g., spam/not spam, true/false, cat/dog). Predicting the price of a house or forecasting sales are regression problems, and grouping customers is a clustering (unsupervised) problem.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list