How to plot graph for kmeans?

2 vues (au cours des 30 derniers jours)
anu
anu le 30 Août 2016
Modifié(e) : anu le 31 Août 2016
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 commentaire
Swarooph
Swarooph le 30 Août 2016
What do you mean output?

Connectez-vous pour commenter.

Réponses (1)

Swarooph
Swarooph le 30 Août 2016
You could use the gscatter function. Note that this uses categorical variables which makes things easy.

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!

Translated by