| Algorithm 2: Type-reducing weighted cluster lefts proposed algorithm |
| 00 |
For arbitrary fuzzifier m |
| 01 |
compute lefts using
|
| 02 |
where and
|
| 03 |
sort the n data patterns in each of d attributes (l=1, …, d) in ascending order |
| 04 |
compute
|
| 05 |
for all data patterns |
| 06 |
find interval index k
such that
|
| 07 |
for all data patterns |
| 08 |
if then |
| 09 |
set primary membership and set weight else |
| 10 |
set primary membership and set weight
|
| 11 |
end if |
| 12 |
end for |
| 13 |
and
|
| 14 |
end for |
| 15 |
is calculated using the same procedure as above replacing the “if statement” as follows |
| 16 |
for all data patterns |
| 17 |
if then |
| 18 |
set primary membership and set weight else |
| 19 |
set primary membership and set weight
|
| 20 |
end if |
| 21 |
end for |
| 22 |
and
|
| 23 |
compute maximum value of and using equation (13) |