[R] Difference between Lloyd and Forgy algorithms used in R built-in kmeans clustering function

2013-06-20 Thread Safiye Celik
Hi, Does anybody know the difference between the Lloyd and Forgy algorithms specified for R's kmeans clustering options? I know how Lloyd works, but I cannot access Forgy's paper and could not find any specific information on the web about how it really differs from Lloyd's method. I appreciate

Re: [R] Difference between Lloyd and Forgy algorithms used in R built-in kmeans clustering function

2013-06-20 Thread Pascal Oettli
Hi, A 5-second search on Internet brought me here: http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Clustering/K-Means Regards, Pascal On 20/06/13 15:57, Safiye Celik wrote: Hi, Does anybody know the difference between the Lloyd and Forgy algorithms specified for R's kmeans

Re: [R] Difference between Lloyd and Forgy algorithms used in R built-in kmeans clustering function

2013-06-20 Thread Safiye Celik
Hi, I searched for a long time and I read this website before asking the question. But it does not answer my issue. Thanks anyway. I digged unto the source code and realized that there is no difference between the implementations of Lloyd and Forgy. In fact, in kmeans.R, the method number is set