k means clustering using k=4
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 29 Mar 2021
The line that has
[idx,C] = kmeans(X,3);
would change to
[idx,C] = kmeans(X,4);
if you were clustering with four clusters.
Catégories
En savoir plus sur k-Means and k-Medoids Clustering dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!