k-means Clustering Visualizer
Expectation Maximization-style Hard Clustering
Drag the
X
markers to move initial centroids.
Objective Function:
Minimize the Within-Cluster Sum of Squares (WCSS): $$ J = \sum_{j=1}^k \sum_{x_i \in S_j} \|x_i - \mu_j\|^2 $$
Number of Clusters ($k$):
3
Next Step
Run to End
Reset Points
Reset Centroids
Iteration:
0
Current WCSS:
-