Center of mass or clusters
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there!
If I have an NxM matrix and a number of clusters, how do I return a centroids point vector representing the averages (centers of mass) of the clusters?
0 comentarios
Respuestas (1)
Image Analyst
el 11 de Abr. de 2020
It's returned by the kmeans() function as the second output argument:
[indexes, clusterCentroids] = kmeans(data, numberOfClusters);
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!