Gradient LabSign up free

ML glossary › Centroid

What is centroid in machine learning?

The center of a cluster: the average position of its points.

Where it shows up

Unsupervised learning

k-means clustering

Each center moves to the average position of its points: its centroid. Then points re-pick their nearest center. Watch the colors fix themselves.

See centroid in motion. The lesson animates it step by step, free.

Open the lesson

Related terms