Re:E-means: 10x faster k-means at equal loss
by shiandow on Tuesday November 10, 2026 @12:03PM
(#50443100)
It's prpbably going to diverge, but in this case there's not really a dataset to begin with. It's just alternating calculating the centroids with calculating the Voronoi diagrams. The reason it's slow is not because it can't escape a local minimum it's because the two steps are only slowly converging on the optimum.
So something that ends up increasing the step size might actually help. But in practice you're probably better of doing something more orthodox like conjugate gradient or Newton's.
So something that ends up increasing the step size might actually help. But in practice you're probably better of doing something more orthodox like conjugate gradient or Newton's.