📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is inertia in k-means clustering?

A. The number of clusters
B. The distance between centroids only
C. The number of iterations
D. The sum of squared distances from each point to its assigned cluster centroid ✅

Correct Answer: D. The sum of squared distances from each point to its assigned cluster centroid

Explanation

Inertia measures how tightly points are grouped around their centroids; lower inertia means tighter clusters for a fixed k.