Algorithm 1. RF learning algorithm: Learning algorithm of random forest. |
for
|
-
(a)
Draw samples from the training data set.
-
(b)
Grow a decision tree using the sampled data, by recursively repeating the following steps for each terminal node of the tree until the tree has the maximum size.
-
(i)
Select variables randomly from variables.
-
(ii)
Choose the best attribute/split-point among the
-
(iii)
Split the node into two sub-branches
end
|