Info

This question is closed. Reopen it to edit or answer.

Could anyone help me to have similar cluster centers in PSO

1 view (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 7 Oct 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 Comments
jaah navi
jaah navi on 7 Oct 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 on 7 Oct 2019
centroid_coordinates(1:Number_of_clusters, 1:2) = inf;
These are the final coordinates to use, not the initial coordinates.

Tags

Community Treasure Hunt

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

Start Hunting!