|
Algorithm 1
Fuzzy C-Means (FCM) Algorithm
|
Input: All time-invariant vectors , with .
Output: The centres of the clusters, ; the fuzzy partition coefficient,
Step 1: Set the algorithmic parameters, , m, , and the threshold, .
Step 2: Randomly initialize a membership matrix, , with
the iteration .
Step 3: Compute the cluster centres using (12).
Step 4: Set .
Step 5: Compute an updated membership matrix, ,
with using (10).
Step 6: Compare whether is higher than :
If is smaller than ,
then compute the fuzzy partition coefficient, ,
goto Step 7.
Else Set as and goto Step 3.
Step 7: Return The cluster centres,
|