I have implement 3 clustering algorithms in R (PAM, k-means and hierarchical). I want to find which parameters produce the best results of each algorithm.
I have no idea how to do it in R.
Does anyone know how to do it?
Thank you for your help.
I have implement 3 clustering algorithms in R (PAM, k-means and hierarchical). I want to find which parameters produce the best results of each algorithm.
I have no idea how to do it in R.
Does anyone know how to do it?
Thank you for your help.
You need a statistic which can be calculated for all 3 Clustering methods like BIC criterion.
The model with the lowest BIC would be best. However this criterion should be used with caution, as overfitting is a frequent problem.