Clustering
An unsupervised machine learning task: group objects into clusters (groups) so that similar ones end up together. Class labels are not given beforehand — the model finds the structure on its own.
Examples
- Customer segmentation based on behavior;
- Grouping similar documents;
- Anomaly detection.
Popular Algorithm
K-Means — the number of clusters k is specified, the algorithm iteratively finds their centers and distributes the objects.
How to Evaluate
More challenging than classification: no 'correct answers'. Use the silhouette coefficient and other internal metrics.