Problems with kmeans clustering
Mostrar comentarios más antiguos
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 comentarios
Adam
el 31 de Mzo. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre k-Means and k-Medoids Clustering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!