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?

1 件のコメント

Swarooph
Swarooph 2016 年 8 月 30 日
What do you mean output?

サインインしてコメントする。

回答 (1 件)

Swarooph
Swarooph 2016 年 8 月 30 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

質問済み:

anu
2016 年 8 月 30 日

編集済み:

anu
2016 年 8 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by