Other random forest tools have the "dial" that limits max depth of splits on a particular branch.
h2o.randomForest has "max_depth", for example.
What is the version of that for "ranger"?
Other random forest tools have the "dial" that limits max depth of splits on a particular branch.
h2o.randomForest has "max_depth", for example.
What is the version of that for "ranger"?
I'm not familiar with the h2o.randomForest
package, but my general understanding of random forests is that each tree will be grown until a certain minimum number of data points fit into each leaf of the tree. In other words, a tree will keep splitting until a certain level of classification of each data point has been achieved. In the standard randomForest
package, there is a parameter called nodesize
which controls this:
https://stats.stackexchange.com/questions/158583/what-does-node-size-refer-to-in-the-random-forest
The analogous parameter in the ranger
package seems to be min.node.size
. You can compare the information in the link above with the documentation to convince yourself that they are both discussing the same thing.