Which of these tasks is a regression problem?
Options
- Deciding whether a card payment is fraud
- Assigning a photo to one of ten product categories
- Predicting how many minutes a delivery will take (Correct option)
- Predicting whether a customer will cancel next month
Answer
Predicting how many minutes a delivery will take
Why
Regression predicts a number on a continuous scale, like minutes, price or temperature.
The other three predict a category (fraud or not, which category, cancel or not), so they are classification.
The names can confuse: logistic regression is a classification method, because it predicts a class (through a probability).
Remember
Regression predicts a number, classification predicts a category.