My data is is mostly continuous but has one binary variable, I tried the pam algorithm in R with the Gower index but the number of clusters that give the best silhouette width is 2 - allowing the binary variable to completely dominate the result. Is PAM the wrong approach? Is it ok to choose a higher k just because it will give more meaningful results?
PAM with Gower distance matrix
Jin
- 61
- 2