Skip to main content
. 2022 May 7;22(9):3557. doi: 10.3390/s22093557
Algorithm 6: RACC.
  • Input: Training data {(xi,yi)}i=1n, new data x, type of base classifiers T, subspace distribution D, integers B1 and B2, criterion C.

  • Output: Predicted label CnRACC(x), the chosen proposition of every feature η.
    •  1. Generate random subspaces independently, Sjk~D,1jB1,1kB2.
    •  2. For j1 to B1 do.
         Choosing of optimal subspace Sj* is performed from {Sjk}k=1B2 based on C and T.
         End
    •  3. Develop the collective decision function as an ensembled one, and represent it as:
      vn(x)=1B1j=1B1CnSj*T(x)
      .
    •  4. Based on Equation (2), the threshold is set.
    •  5. The predicted label CnRACC(x)=1(vn(x)>α^) is given as output, which is the chosen proposition of every feature η=(n1,,nq)T.