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
2016년 8월 30일
0 개 추천
You could use the gscatter function. Note that this uses categorical variables which makes things easy.
카테고리
도움말 센터 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!