Skip to main content
All terms
Foundations

K-Means

A popular algorithm that groups data into a chosen number of clusters.

Definition

K-means is a popular clustering algorithm that sorts data into a chosen number (k) of groups by repeatedly assigning each point to the nearest group center and recomputing those centers. It is fast and widely used for tasks like customer segmentation, though you must pick the number of clusters in advance.