← All lessons

Finding groups (clustering)

Step 1 of 25
The idea

Sorting sweets without labels

Someone hands you a big bag of mixed sweets and says “sort these into groups”. No labels, no answer key. You'd put similar ones together: by colour, size, wrapper.

That's clustering: putting similar records into groups when nobody tells you what the groups should be. It's unsupervised.

Businesses use it for customer segments, similar stores or cities, and product groups.