How to plot graph for kmeans?
Mostrar comentarios más antiguos
I have data in array. Then I have applied kmeans algorithm on the data using id=kmeans(arr,3) where arr will consist of data points(36 rows and 9 columns) and 3 is the no of clusters. How to plot graph for kmeans?
1 comentario
Swarooph
el 30 de Ag. de 2016
What do you mean output?
Respuestas (1)
Swarooph
el 30 de Ag. de 2016
0 votos
You could use the gscatter function. Note that this uses categorical variables which makes things easy.
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!