Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to ask question to the write of the specific article / K Means clustering

$
0
0

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 diff as 1 and inside the while loop, we are calculating this diff as the difference between the centroids in the previous iteration and the current iteration."
after the loan prediction algorithm. I have two questions

  1. 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?
  2. 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?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles