Can a k-tool fall into an infinite loop?

I have studied the k-means algorithm and I know how it works.

Just curious if there is a situation when this algorithm goes into an infinite loop, say, if we have some bad choices for the starting points of the center of gravity? I could only imagine a situation where k-means reached a local minimum with poor initial choices.

+5
source share
1 answer

No. A k-means has an upper bound O (n kd ) in a d-dimensional space.

+8
source

All Articles