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.
0 个评论
回答(1 个)
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 个评论
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!