What is: k-Means Clustering?
Year | 2000 |
Data Source | CC BY-SA - https://paperswithcode.com |
k-Means Clustering is a clustering algorithm that divides a training set into different clusters of examples that are near each other. It works by initializing different centroids {} to different values, then alternating between two steps until convergence:
(i) each training example is assigned to cluster where is the index of the nearest centroid
(ii) each centroid is updated to the mean of all training examples assigned to cluster .
Text Source: Deep Learning, Goodfellow et al
Image Source: scikit-learn