Skip to main content
. 2019 Mar 8;19(5):1193. doi: 10.3390/s19051193
Algorithm 4 Random forest classification algorithm
  1. Starting from the root node of the current tree, according to the current node’s threshold th, it is determined whether to enter the left node (<th) or enter the right node (th) until a certain leaf node is reached and the predicted value is output.

  2. Repeat 1 until all t-trees have output predictions. This will give a class with the largest sum of predicted probabilities in all trees.