Hi All,

How can we ask the questions to specific old articles.

I am referring to the article : https://www.analyticsvidhya.com/blog/2019/08/comprehensive-guide-k-means-clustering/

Here the author Pulkit mentions *

" These values might vary every time we run this. Here, we are stopping the training when the centroids are not changing after two iterations. We have initially defined the

diffas 1 and inside the while loop, we are calculating thisdiffas the difference between the centroids in the previous iteration and the current iteration."

after the loan prediction algorithm. I have two questions

- how are we stopping the training at 2 value, since we have run the code till the value 0. Also we are stopping at 2, because after that we have negative value. Right?
- We are minimising distance to 0, to find the best centroid for each cluster, but what is the significance of finding the number of iterations?