Problems with kmeans clustering
Ältere Kommentare anzeigen
OI have used the following code to segment the attached image. But each iteration on the same image shows different result. How can i solve this by using rng('default'); ?
2 Kommentare
Adam
am 31 Mär. 2017
You should just need to explicitly set the seed (either to 'default' I guess or to any seed of your choice) before each call to kmeans if you want the same result each time.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu k-Means and k-Medoids Clustering 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!