필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Could anyone help me to have similar cluster centers in PSO

조회 수: 1 (최근 30일)
jaah navi
jaah navi 2019년 10월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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