k means clustering using k=4
이전 댓글 표시
Perform K-means clustering on the mandrill image with K=4.
can someone please help me with code for this question, as I'm a begineer don't have much idea about how to proceed with this question.
채택된 답변
추가 답변 (1개)
Walter Roberson
2021년 3월 29일
The line that has
[idx,C] = kmeans(X,3);
would change to
[idx,C] = kmeans(X,4);
if you were clustering with four clusters.
카테고리
도움말 센터 및 File Exchange에서 k-Means and k-Medoids Clustering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!