[R] K-modes clustering : how to choose the number of clusters?

이아름 judyoringe at naver.com
Tue Dec 13 12:08:16 CET 2016


 
Dear all. 
 
I tried to cluster the data with categorical variables with K-modes using klaR packages. 
 
I tried to find the optimal number of clusters by considering the average silhouette width though..  
 
In k-modes, however, the average silhouette width increases, when the the number of clusters increases in my case.
 
So i tried to derive the elbow plot and I got the attached graph. 
It is quite hard to which point is the location of a bend in this plot.. 
In this case, how can I choose the best number of groups? 
 
Can anyone introduce better method that help choose the optimal number of clusters for K-modes? 
 
Thanks!
 
Kind regards
 
Ann. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example_ElbowPlot.png
Type: image/png
Size: 7087 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20161213/834676ab/attachment.png>


More information about the R-help mailing list