powered by
Finds the partition which minimize the within-leaves sum of squares.
KmeansOPT(groups, leaves, labels, dat, K)