I believe there is also an example of how to select initial values for k-means in Modern and Applied Statistics with S (Venables and Ripley). Ken
On 02/29/12, Pascal Oettli wrote: > Dear Rui, > > Did you have a look at 'pracma' package? There is a 'kmeanspp' function. > > Best Regards, > Pascal > > > Le 29/02/2012 19:52, Rui Esteves a écrit : > >Dear Pascal, > > > >>From Wikipedia: > > > >In applied statistics, k-means++ is an algorithm for choosing the > >initial values (or "seeds") for the k-means clustering algorithm. It > >was proposed in 2007 by David Arthur and Sergei Vassilvitskii, as an > >approximation algorithm for the NP-hard k-means problem—a way of > >avoiding the sometimes poor clusterings found by the standard k-means > >algorithm. > > > >On Wed, Feb 29, 2012 at 11:33 AM, Pascal Oettli > ><oet...@eps.s.u-tokyo.ac.jp> wrote: > >>Dear Rui, > >> > >>What "++" means? There is kmeans in "stats" package. > >> > >>Best Regards, > >>Pascal > >> > >> > >>Le 29/02/2012 19:20, Rui Esteves a écrit : > >>> > >>>Dear all. > >>> > >>>I am searching for KMeans ++ for R. I cannot find it. > >>>Do you know any package with it? > >>> > >>>Best regards, > >>>Rui > >>> > >>>______________________________________________ > >>>R-help@r-project.org mailing list > >>>https://stat.ethz.ch/mailman/listinfo/r-help > >>>PLEASE do read the posting guide > >>>http://www.R-project.org/posting-guide.html > >>>and provide commented, minimal, self-contained, reproducible code. > >>> > >>> > >> > > > > > > -- > Dr. Pascal Oettli > Project Research Associate > Department of Earth and Planetary Science > Graduate School of Science > The University of Tokyo > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.