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.
Kevin source
share