Convergence seems to be unstable at different tolerance levels plus sum of squares values jump around a lot at different K values.
using Plots
using Clustering
using ParallelKMeans
X = rand(10000, 30);
@time a = [Clustering.kmeans(X', i).totalcost for i = 2:10];
@time b = [ParallelKMeans.kmeans(X, i, tol=1e-6, verbose=false)[end] for i = 2:10];
plot(a)
plot!(b)
Convergence seems to be unstable at different tolerance levels plus sum of squares values jump around a lot at different K values.