running k-means and getting different results run after run?
Ältere Kommentare anzeigen
I am running k-means clustering algorithm on a data, and I don't understand why I am getting different silhouette plots each time I run this. Is there a way to stabilise this? (or set the number of iterations) so I get the same results?
3 Kommentare
Pieter Hamming
am 17 Aug. 2018
Generally, k-means clustering generates different results depending on starting conditions; that's why you'd normally run it a few times with randomized starting conditions.
I don't know the specific MATLAB implementation of k-means, but I'd assume it runs multiple times with random initialization.
Could you give an example of your data/results so we can see if the issue is in the (application of the) algorithm or in the data?
cgo
am 17 Aug. 2018
cgo
am 17 Aug. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Cluster Analysis and Anomaly Detection finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

