[R] the number of cluster

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Mar 19 12:44:42 CET 2005


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 at 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




More information about the R-help mailing list