I am trying to implement pso with fcm for clustering
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!