K means clustering

Where can we put the termination condition in the k means clustering Algo

Actually it depends on you, the most usual way is that we stop kmeans algorithm as soon as there seems no change in coordinates of centers, this means that we have achieved the most optimal set of centers for now.

Hope this helped :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.