What difference will it make if I do kmeans twice?

Learner Source

What difference will it make in my output if I do kmeans once or twice. I'm getting slight different output but between_SS / total_SS is same. I thought I should get exactly same output.

km.res <- kmeans(data, centers = k, nstart = 10)

or

km.res <- kmeans(data, centers = k, nstart = 10)
km.res <- kmeans(data, centers = k, nstart = 10)
rk-means

Answers

comments powered by Disqus