|
Algorithm 2. Construction of Random Forest |
|
Input: Originally collected CSI data packet, each data packet containsdata for test cases |
| Input: the size of the forest: s |
| Output: random forest: F |
| 1. generate training dataset by Wavelet transform |
| 2. for = 1 to s do |
| 3. Generate new training dataset by bootstrap aggregating |
| 4. set
|
| 5. randomly select m attributes from
|
| 6. use train the
based Algorithm1 |
| 7. end |
| 8. combine the s Decision Trees on the basic thought of voting method. |
| 9. return
|