Skip to main content
. 2022 Mar 10;22(6):2167. doi: 10.3390/s22062167
Algorithm 1: Recursive Feature Selection
1: Step 1: Start with m=1, and find the best Sm using Equation (5) from all feature subsets 2: SSm.
3: Step 2: For md, sort all feature subsets in SSm by the objective function in Equation (5). 4: Select only the first min(l,(72m)) feature subsets based on performance, where l is the user-5: defined quota. In this study, l is set to be 500.
6: Step 3: For every selected subset Sm from Step 2, find the absolute complement of Sm,
7: represented by Sm. For each feature fiSm, create a new subset Sm+1 by adding fi
8: to Sm; and keep this new subset Sm+1 only if its performance is better than Sm.
9: Step 4: Insert all remaining Sm+1 from step 3 to new feature set SSm+1. Increase m by 1.
10: Step 5: Repeat step 2 to 4 until m=d.