How to plot graph for kmeans?

조회 수: 13 (최근 30일)
anu
anu 2016년 8월 30일
편집: anu 2016년 8월 31일
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일
You could use the gscatter function. Note that this uses categorical variables which makes things easy.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by