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

David L Carlson dcarlson at tamu.edu
Tue Dec 13 17:00:32 CET 2016


Function NbClust() in package NbClust computes 30 different indices for determining the number of clusters.

-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of ???
Sent: Tuesday, December 13, 2016 5:08 AM
To: r-help at R-project.org
Subject: [R] K-modes clustering : how to choose the number of clusters?

 
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. 


More information about the R-help mailing list