Skip to main content
. 2017 Feb 10;17(2):342. doi: 10.3390/s17020342
Algorithm 2 FCM clustering algorithm.
Input: G(m,l), N (the number of data in G(m,l), i.e., N=|G(m,l)|);
Output: U (the partition matrix), Gc(m,l) (the aggregated clusters);
Process:
  • (a1) get UFFCM, VFFCM, JaFFCM by F-FCM clustering;

  • (a2) get UBFCM, VBFCM, JaBFCM by B-FCM clustering;

  • (a3) clustering method determination:

  •     if JaFFCMJaBFCM then

  •         set U=UFFCM;

  •     else

  •         set U=UBFCM;

  •     end if

  • (a4) partition loop:

  •     for i← 1 to N do

  •         if uij=maxk=1,2,,cuik then

  •            partition Gi(m,l) (the i-th data in G(m,l)) into Gc(j,m,l);

  •         end if

  •     end for

  • (a5) generate Gc(m,l) by Gc(m,l)=j=1cGc(j,m,l).