Unsupervised Learning
Learning patterns from unlabeled data without predefined target labels.
What can a shop learn from unlabeled baskets?
Imagine a shop with purchase records showing items bought together. The baskets have no labels for the shopper’s intent.
What the algorithm sees
A basket containing flour and yeast shares items with others containing flour, yeast, and salt. A grouping method can bring such baskets together.
What the shop must interpret
A manager might call this group “bread making” after examining its contents. That name is an interpretation. The original transactions record purchases, not intentions.
Decide whether the grouping is useful
Repeat the grouping across different weeks and inspect examples close to its boundaries. A promotion can make unrelated items appear together. Evaluate a proposed group by the question it helps answer, such as which items customers commonly need on the same trip.
Follow the idea
Clustering groups records according to a chosen measure of similarity.
Supervised learning uses examples with an explicit target.
Related concepts
Source · Google’s clustering overview
Return to Unsupervised Learning in the A–Z glossary