AI engineering glossary · Classical ML algorithms

What is centroid?

Centroid: The average position of a group of points, calculated by averaging each coordinate separately. In clustering it acts as the representative centre of a group, and algorithms such as k-means keep moving it as assignments change.

Level: beginnerTopic: Classical ML algorithms

Centroid: an example

The centroid of points (1,2), (3,4), (5,6) is (3,4).

Related terms

More Classical ML algorithms terms

Where you learn it

Centroid is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.