Different Values if K-means Clustring on same data.
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Khawaja Asim
le 8 Avr 2014
Commenté : Walter Roberson
le 8 Avr 2014
I have been using matlab function of K-means clustring for making clusters of data. I happen to apply it on same data. But got wildly different results every time. I know the reason for this. But I need sugestions for overcoming this issue. Should I use some modified version of K-means or Should look for some other clustering technique?
K-means command which i used is "kmeans(Feature_Matrix,20,'Replicates',5,'emptyaction','singleton');
0 commentaires
Réponse acceptée
Shashank Prasanna
le 8 Avr 2014
Modifié(e) : Shashank Prasanna
le 8 Avr 2014
Kmeans can get stuck in local minima. By which I mean it is sensitive to initial centroid positions. You can specify a higher number of replicates to increase you chances of getting a global solution.
If you are interested in exploring other clustering algorithms, find all the supported ones here:
2 commentaires
Walter Roberson
le 8 Avr 2014
kmeans uses random initialization of cluster positions, unless you pass it specific positions to start at.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!