Skip to main content
. 2021 Feb 6;23(2):200. doi: 10.3390/e23020200
Algorithm 1WAM Algorithm:
  • Given a training dataset X with p features, a testing dataset T, a feature selection method FS, a threshold parameter k, and a learning algorithm M.
    • (i)
      For s=1,…,m, generate bootstrap samples, X1,…,Xm of the training dataset X.
    • (ii)
      Based on FS, get the features score matrix L.
    • (iii)
      Get the aggregated score set {ℓ¯.1,…,ℓ¯.p}.
    • (iv)
      For the aggregated score set {ℓ¯.1,…,ℓ¯.p}, get the corresponding rank vector r=(r1,…,rp).
    • (v)
      Based on the rank vector r, keep only the top 100k% of the variable set {V1,…,Vp}.
    • (vi)
      Based on the selected feature set in (v), use the testing dataset T and a cross-validation technique to train and test the model M.