XP Sun wrote: > hi, all, > > how to decide the number of cluster before you use kmeans and hclust? > thank you in advance!
Depends on your criterion. Best idea is always to use the brain and think about how many clusters are sensible for the particular task/problem/data. For hclust, you can also look at the dendrogram's height and distances of dissimilarities in order to cut. Uwe Ligges > best > -xpsun > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html