Skip to main content
. 2020 Jun 5;20(11):3210. doi: 10.3390/s20113210
Algorithm 2: Type-reducing weighted cluster lefts proposed algorithm
00 For arbitrary fuzzifier m
01 compute lefts v′=(v′i1,……,v′id) using ∑j=1ns+cwj(uij)mxj∑j=1ns+cwj(uij)m
02 where uij=u_ij+u¯ij/2 and wj=w_j+w¯j/2
03 sort the n data patterns in each of d attributes (l=1, …, d) in ascending order
04 compute VR
05   for all data patterns
06 find interval index k (1≤k≤ns+c−1) such that xkl≤v’il≤x(k+1)l
07 for all data patterns
08     if (j≤k) then
09      set primary membership uijR1=u_ij and set weight wjR1=w_j, ∀ xj else
10      set primary membership  uijR2=u¯ij and set weight wjR2=w¯j,∀ xj
11     end if
12    end for
13 uijR=(uijR1∪uijR2) and wjR=(wjR1∪wjR2)
14   end for
15 VL is calculated using the same procedure as above replacing the “if statement” as follows
16     for all data patterns
17      if (j≤k) then
18       set primary membership uijL1=u¯ij and set weight wjL1=w¯j, ∀ xj else
19       set primary membership uijL2=u_ij and set weight wjL2=w_j, ∀ xj
20     end if
21     end for
22 uijL=(uijL1∪uijL2) and wjL=(wjL1∪wjL2)
23 compute maximum value of VR and VL using equation (13)