Generated by claude-sonnet-4-6 · 2026-06-21 03:19 · grounding rag
Model Answer
(C) Predicting tomorrow's temperature.
Regression models predict a continuous value (e.g., temperature, price). Predicting tomorrow's temperature outputs a numerical value, making it a regression problem.
Source: Regression Model, chapter 2
---
Explanation
- Why not (A)? Spam/not-spam is a discrete (categorical) output → Classification.
- Why not (B)? Grouping customers by behaviour with no predefined labels → Clustering (Unsupervised).
- Why not (D)? Recognizing faces assigns a label/category → Classification.
- The textbook explicitly states: "Temperature is a continuous variable… Regression models are well-suited for predicting continuous outputs." Always link regression to continuous numerical outputs.