I am trying to implement pso with fcm for clustering

조회 수: 6 (최근 30일)
LOKESH
LOKESH 2016년 3월 25일
For PSO I used following pseudo code. I print intracluster distance.Further how can I use the FCM function with PSO for clustering or is there pseudo code for it.
Pseudo code for pso: . Initialize each particle with random cluster centeroid
2. Do
2.1. For each Particle
2.1.1. For Each Data Vector Zp in Data set
2.1.2. Calculate D(mij,Zp) for all cluster centeroids.
2.1.3. Assign Zp to a Cluster Ci which has minimum Euclidean distance
2.3 Calculate Fitness of Particle using the objective function
2.4 Update the Global Best and Local Best
2.5. Update the Particle Velocity and Location using Equation 1 and 2.
3. While termination Criteria is satisfied
Further how to find the intercluster distance, objective function and fitness function

답변 (0개)

카테고리

Help CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by