Unsupervised learning is machine learning on data with no labels: the algorithm finds groups, patterns or outliers by itself, without being told the right answers. It is useful when you have lots of data but nobody has tagged it, which describes most businesses. At Saraswati Stitch we use it mostly for customer segmentation and spotting unusual records.
The three main tasks
IBM groups unsupervised methods into three tasks: clustering, association and dimensionality reduction. Each has a clear business use.
| Task | What it finds | Business example |
|---|---|---|
| Clustering | Groups of similar records | Customer segments by buying behaviour, using an algorithm such as k-means |
| Association | Things that occur together | Products often bought together, for bundles and recommendations |
| Dimensionality reduction | A simpler summary of many variables | Condensing a 40-question survey into a few underlying themes |
Outlier detection is often added as a fourth use: flagging transactions or sensor readings that do not fit normal patterns. See anomaly detection for that.
Supervised vs unsupervised
Supervised learning trains on examples with answers attached, such as emails marked spam or not spam, and learns to predict the answer. Unsupervised learning has no answers to learn from, so it describes the data rather than predicting a label. You use supervised learning when you know what you want to predict and have labelled examples, and unsupervised when you want to discover structure you did not know about.
Is ChatGPT unsupervised learning?
Partly. The models behind it are first pretrained on huge amounts of raw text by predicting the next word, a method usually called self-supervised because the labels come from the text itself. They are then refined with supervised examples and human feedback through RLHF.
Limits
An algorithm will always find clusters, even in noise. A person still has to decide whether the groups mean anything and whether they are worth acting on.
Saraswati Stitch®