Level 2 · Module 8 · 10 minutes
Finding groups without labels
- Explain what unsupervised learning is.
- Describe how clustering groups similar examples.
- Explain why a cluster is not automatically a real category.
Unsupervised learning looks for structure in data when there is no answer column. Nobody has labelled the examples. The software must decide what makes records alike and group them, without being told what the groups should be. The most familiar version is clustering.
How clustering works, in plain words
Each record is described by its features. The algorithm compares records and puts similar ones together, so that records within a group are more alike than records in different groups. What counts as similar is chosen by a person: which features to include, how to weigh them, and how many groups to ask for.
A grocery shop might group shopping baskets by what is bought together. A machine owner might group sensor readings to see which operating conditions appear in practice. A support team might group messages by the kind of problem described. In each case, the groups are proposed by the algorithm, not given in advance.
The catch: a cluster is not a category
This is the point most often missed. A cluster is a group of records that are similar according to the features you chose and the measure you used. It is not automatically a real kind of customer, a real fault or a real type of anything. Two different choices can produce two different sets of groups from the same data, and neither is wrong in a mathematical sense.
Sometimes a cluster does correspond to something real and useful, such as two distinct kinds of machine failure. That is a hypothesis to test with people who know the work, not a result to announce.
Choices that shape the answer
- Which features are included, and which are left out.
- Whether large numbers dominate small ones without scaling.
- How many groups to ask for.
- How similarity is measured.
These are judgement calls. Changing one can change the groups entirely.
Sorting cards is not clustering
A classroom activity where you sort record cards into piles by similarity rehearses the reasoning. It is a simulation. Real clustering is done by software across many records and several features at once, and the result needs interpreting by a person. The piles you make and the groups a model computes are both proposals, not facts.
Common misconception
Clustering discovers the true categories that exist in the data, so each cluster is a real-world type. A cluster is a set of records that are similar under the features and settings you chose. Different choices produce different groups, and only checking with people who know the work and testing the groups in practice can show whether they mean anything.
Guided practice
Take a list of everyday items, such as groceries from a receipt, and sort them into groups by similarity. Then sort the same list a second time using different features, for example by when they are used instead of by type. Compare the two groupings and explain why both are reasonable and why neither is the true grouping of the items.
Knowledge check
Independent practice
Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.
Last reviewed: · Report a problem