Is the proof that k-means always converges?

I understand the steps of k-means algorithms. However, I'm not sure if the algorithm will always converge? Or do observations always switch from one centroid to another?

+4
source share
1 answer

The algorithm always converges (by definition), but not necessarily to a global optimum .

The algorithm may switch from a centroid to a centroid, but this is an algorithm parameter ( precisionor delta). This is sometimes called "cyclic." After some time, the algorithm passes through centroids. There are two solutions (both of them can be used simultaneously). precision, maximum number of iterations.

precision, delta, .

Max Num Iterations, , .

, . - , ( , ).

stats.SE k-

+4

Source: https://habr.com/ru/post/1614946/


All Articles