Skip to content
Prev 255927 / 398506 Next

Help in kmeans

I'm not going to comment on column names, but this is just to make you 
aware that the results of k-means depend on random initialisation.

This means that it is possible that you get different results if you run 
it several times. It basically gives you a local optimum and there may be 
more than one of these.
Use set.seed to see whether this explains your problem.

Best regards,
Christian
On Wed, 6 Apr 2011, Raji wrote:

            
*** --- ***
Christian Hennig
University College London, Department of Statistical Science
Gower St., London WC1E 6BT, phone +44 207 679 1698
chrish at stats.ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche