1.What is the difference between supervised and unsupervised learning? Give an example of each.
Warm-upWhat a strong answer covers
- Supervised learning trains on labeled examples (X mapped to a known y) to predict a target: classification (spam or not) or regression (house price).
- Unsupervised learning finds structure in unlabeled data: clustering (customer segments via k-means), dimensionality reduction (PCA), or density estimation.
- Concrete examples on both sides, plus a note that semi-supervised and self-supervised sit between them when labels are scarce or costly.
- A strong answer ties the choice to label availability and cost, not just definitions.
Where people lose the point
- Calling clustering a supervised method or confusing it with classification.
- Giving only definitions with no concrete example of each.
- Not recognizing that reinforcement learning is a separate paradigm, not a subtype of the two.