Research Article
Particle Swarm Optimization-Based Support Vector Regression for Tourist Arrivals Forecasting
Algorithm 2
Random forest—Recursive feature elimination (RF–RFE).
(1) | Define: let T be the data set. be the set of p original features; R () be the final ranking; N be the desired number of features. | (2) | Output: subset of features F | (3) | for k ⟵ 1 to N do | (4) | Rank set F using random forest | (5) | ⟵ last ranked feature in F | (6) | R (p – i + 1) ⟵ | (7) | F ⟵ F – | (8) | end |
|