Info

此问题已关闭。 请重新打开它进行编辑或回答。

Could anyone help me to have similar cluster centers in PSO

1 次查看(过去 30 天)
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.

回答(1 个)

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

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by