Skip to main content
. 2023 Sep 14;14(9):1802. doi: 10.3390/genes14091802
Algorithm 1 Rank-based ensemble feature selection
Initialize each sub-feature set: S1=0,S2=0,S3=0.
  •    1:

    for each feature fi{1,,i} do

  •    2:

          for each Feature Selector FSj{1,,j} do

  •    3:

                 if fi==Selected then

  •    4:

                       RiRi+1

  •    5:

                 end if

  •    6:

          end for

  •    7:

    end for

  •    8:

    for each feature fi{1,,i} do

  •    9:

          if Ri1 then

  •  10:

                S1S1fi

  •  11:

          end if

  •  12:

          if Ri2 then

  •  13:

                S2S2fi

  •  14:

          end if

  •  15:

          if Ri3 then

  •  16:

                S3S3fi

  •  17:

          end if

  •  18:

    end for