Instruction: Define both learning types and give examples of when each would be used.
Context: This question tests the candidate's foundational knowledge of machine learning concepts and their ability to communicate these effectively.
The way I'd explain it in an interview is this: Supervised learning uses labeled examples, meaning the model sees inputs and the target output it is supposed to predict. The goal is usually prediction: classification, regression, ranking, or some other task where the desired outcome is known during training.
Unsupervised learning works without explicit target labels. Instead, the model tries to uncover structure in the data, such as clusters, lower-dimensional structure, anomalies, or latent patterns. In practice, the difference is not just whether labels exist. It is whether the learning objective is tied to a known prediction target or to discovering structure on its own. That difference shapes how you evaluate the model, how you collect data, and what kinds of business problems each approach can solve well.
A weak answer says supervised learning uses labeled data and unsupervised learning does not, without explaining the difference in objective, use case, and evaluation.
easy
easy
easy
easy
easy
easy