Algorithm 2: Fuzzy c-means clustering | |
1. | First consider n data points, to be segregated into c clusters |
2. | Take the initial value of center of clusters, ck; where |
3. | Evaluate grade (or degree) of membership uij i.e. the degree to which an x(i) belongs to the cluster with center cj, ; for (4) The entire vector is expressed at kth iteration as, , under cluster 1 , under cluster 2
, under cluster c |
4. | Update the center cj like, (5) |
5. | Repeat step 3 and 4 until , |