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 to the same for Lloyd and Forgy (nmeth is set to 2).
So, the same C function (C_kmeans_Lloyd for nmeth = 2) is called for the
two methods.


On 20 June 2013 00:18, Pascal Oettli <kridox@ymail.com> wrote:

> Hi,
>
> A 5-second search on Internet brought me here:
>
> http://en.wikibooks.org/wiki/**Data_Mining_Algorithms_In_R/**
> Clustering/K-Means<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 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 your help. Thanks!
>>
>>


-- 
-safiye

	[[alternative HTML version deleted]]

