Curated · Regression vs Classification Problems

MCQ · 1 mark · Problem ML-SUPV-0001

Which one of the following is a regression problem?
  1. A
    Recognising which digit (\(0\) to \(9\)) is written in a scanned image of a handwritten digit
  2. B
    Predicting the delivery time (in minutes) of an online food order from the distance, the traffic level and the order size
  3. C
    Deciding whether an incoming email is spam or not spam
  4. D
    Grouping customers into segments from their purchase histories, when no segment labels are available

Solve it on GATE DA practice →More Supervised Learning — Regression problems

Show the worked solutionIn supervised learning every training example comes with a target value \(y\), and the type of the target decides the task:\[\boxed{\text{continuous target}\ \Rightarrow\ \text{regression},\qquad \text{categorical target}\ \Rightarrow\ \text{classification}}\](A) Classification. The labels \(0,1,\ldots,9\) are written as numbers, but they are \(10\) categories: a prediction such as \(3.6\) is meaningless, and predicting \(7\) for a true \(8\) is no better than predicting \(1\).(B) Regression. Delivery time in minutes is a continuous quantity.(C) Classification with two classes (binary classification).(D) Not supervised learning at all: there are no labels. This is clustering, an unsupervised task.Answer: B

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com