📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is a centroid in k-means clustering?

A. The point farthest from all others
B. The median of the whole dataset
C. The mean of all points assigned to a cluster ✅
D. A point that is never updated

Correct Answer: C. The mean of all points assigned to a cluster

Explanation

The centroid is the centre of a cluster; k-means recomputes it as the average of its member points at each iteration.