K-means Clustering Lab

Find closest centroid

Compute new centroid location

Run the k-means algorithm

Can also randomly initialize the centroids:

Image compression with K means

Anomaly Detection

Define the values and shape of each feature