Estimate K-Means inertia, the within-cluster sum of squares, from sample points and centroids, to compare clustering configurations.
Inertia 越小簇内越紧密。