Framing
Supervised, unsupervised & reinforcement learning
The first fork in any ML conversation: what kind of signal is the model learning from? Get the framing right and every model below slots into place.
The cleanest way to organize the whole field is by what supervises the learning. In supervised learning, every training example carries a label — the right answer — and the model learns a mapping from inputs to that target. In unsupervised learning, there are no labels; the model finds structure in the data itself. In reinforcement learning, there's no fixed answer key at all — an agent takes actions in an environment and learns from a reward signal that may arrive much later.
Interviewers like this question because your answer reveals whether you think in terms of problem shape. The right move is to anchor each paradigm to the task it solves and the kind of data it needs, then give one concrete example. The most common stumble is blurring the line between classification and clustering — both produce groups, but classification learns from labels and clustering discovers groups with none.
Supervised
Labeled data → learn input→output. Classification (discrete labels: spam / not-spam) and regression (continuous targets: house price). The bulk of the breadth round lives here.
Unsupervised
No labels → find structure. Clustering (k-means), dimensionality reduction (PCA), density estimation. Used for segmentation, compression, and exploratory analysis.
Reinforcement
Reward signal → learn a policy by trial and error. Sequential decisions, delayed reward, exploration vs exploitation. Robotics, game-playing, and RLHF for LLMs.
Two refinements worth dropping in to sound current. Self-supervised learning — the engine behind modern LLMs — is technically unsupervised data turned into a supervised task: the label is part of the input itself (predict the next token, fill the masked word). And semi-supervised learning mixes a small labeled set with a large unlabeled one, which is the realistic regime in most companies, where labels are expensive. If the conversation drifts toward how foundation models are trained, that's your bridge to the Deep Learning guide.
WHAT THEY'RE CHECKING
Can you place a novel problem into the right bucket on the fly? "We want to group customers but have no labels" → unsupervised, clustering. "We want to predict churn and have historical churn flags" → supervised classification. Sorting the problem correctly is the prerequisite for choosing a model — and it's the first thing the rest of the round builds on.