Machine learning approaches fall into two major categories.

Supervised Learning

Uses labeled data — the correct answer is provided during training.

Examples:

  • House price prediction
  • Spam detection

Unsupervised Learning

Uses unlabeled data — the model discovers structure on its own.

Examples:

  • Customer segmentation
  • Clustering similar articles

Understanding the difference is critical when selecting the right modeling approach for a given problem.