Skip to content

Glossary: Unsupervised Learning

k-means

Also written: KMeans, kmeans

A clustering method that splits rows into k clusters you choose. It assigns each row to the nearest center, moves each center to the mean of its rows and repeats until nothing changes.

Where the book teaches it

Related terms

center (centroid)inertiak-means++n_init