How to plot graph for kmeans?

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?

Antworten (1)

Swarooph
Swarooph am 30 Aug. 2016

0 Stimmen

You could use the gscatter function. Note that this uses categorical variables which makes things easy.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

anu
am 30 Aug. 2016

Bearbeitet:

anu
am 31 Aug. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by