Distinguish between supervised and unsupervised learning tasks
A modeling scenario is described and you must identify whether it is supervised regression, supervised classification, unsupervised clustering, or dimension reduction.
Ask first whether there is a labeled response variable. If yes, it is supervised — then ask whether the response is continuous (regression) or categorical (classification). If no labels, it is unsupervised — then determine whether the goal is grouping (clustering) or compression (dimension reduction). Match the modeling method to the task type.
Supervised → labels provided; Unsupervised → no labels.