Algorithm 3. The pseudo-code of EGFA for feature selection (EGFAFS). |
1. Input: The size of the recommended feature pool , the size of dust population , the size of the features found by EGFAFS , the No. of Random Forests (RF) , the No. of iterations
|
2. Construct a recommended feature pool by RFs based on the Gini index |
3. Initialize the dust population of size by Equation (9), calculate the mass of each particle by Equation (10) |
4. while
do
|
5. Move the surrounding dust particles toward their center as Figure 3
|
6. Some surrounding dust particles are absorbed by their center |
7. Explosion strategy produces some dust particles as Figure 4
|
8.
|
9. End while
|
10. Return the optimal subset of features |