Clear Filters
Clear Filters

I am trying to implement pso with fcm for clustering

2 views (last 30 days)
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!