The simplest unsupervised algorithm: assign points to the nearest centroid and update centroids until convergence. Deceptively powerful in practice.
Sign in for the concept check
The optional multiple-choice concept check tracks your understanding. Browse the coding problems below, then sign in when you're ready to solve them.
Assign Points to Nearest Centroid
~15 min· Easy
Update Centroids