Skip to main content
. 2021 Feb 6;23(2):200. doi: 10.3390/e23020200
Algorithm 2BAM Algorithm:
  • Given a training dataset X with p features, a testing dataset T, feature selection methods {FS1,…,FSt}, a threshold parameter k, and a learning algorithm M.
    • (i)
      For i=1,…,m, generate bootstrap samples, X1,…,Xm of the training dataset X.
    • (ii)
      For each feature selection method FSq∈{FS1,…,FSt}, get features score matrix L(q).
    • (iii)
      Normalize the score matrices in (ii) as L→(q),q=1,…,t.
    • (iv)
      Use the arithmetic mean scores to combine the matrices in (iii) into one score matrix L→¯.
    • (v)
      Use the score matrix in (iv) to compute the aggregated scores {ℓ→.1¯,…,ℓ→.p}¯.
    • (vi)
      Based on the aggregated scores in (v), compute the corresponding rank vector r=(r1,…,rp).
    • (vii)
      Based on the rank vector r, keep the top 100k% of the variable set {V1,…,Vp}.
    • (viii)
      Based on the selected feature set in (vii), use the testing dataset T and a cross-validation technique to train and test the model M.