Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Could anyone help me to have similar cluster centers in PSO

1 visualización (últimos 30 días)
jaah navi
jaah navi el 7 de Oct. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
PSO aims in attaining the different clusters centers for each cluster suct that the distance between the centroids location and the users should be minimum.
But i need to have similar cluster centers for all clusters such that the distance between the centroids location and the users should be maximum.
Could anyone please help me on this.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Oct. de 2019
Move all of the centroids to infinity. The distance between the centroids and the users will be infinite, which is the maxim you could hope for.
  2 comentarios
jaah navi
jaah navi el 7 de Oct. de 2019
I tried with -infinity where the distance between the centroids position and users gets maximized and with respect to infinity the distance between the centroids position and users gets minimized.
For both the cases the centroids position found to be different for each cluster.But what I actually need is the centroids position neds to be same for all clusters.
Could you please help me on this.
Walter Roberson
Walter Roberson el 7 de Oct. de 2019
centroid_coordinates(1:Number_of_clusters, 1:2) = inf;
These are the final coordinates to use, not the initial coordinates.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by