Algorithm 1 FCM |
-
1:
C: number of clusters
-
2:
m: the degree of fuzziness
-
3:
: the error
-
4:
Initalize randomly the centers of clusters
-
5:
Begin at iteration .
-
6:
repeat
-
7:
Calculate the membership using the centers :
-
8:
-
9:
Calculate the membership matrix using the membership .
-
10:
Update the centers using
-
11:
-
12:
until
-
13:
Return
|