简体   繁体   English

“ R”包装“游侠”中的“最大深度”是什么意思?

[英]What is equivalent of “max depth” in the 'R' package “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. 例如,h2o.randomForest具有“ max_depth”。

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. 我对h2o.randomForest包不熟悉,但是我对随机森林的一般理解是,每棵树都h2o.randomForest到一定数量的最小数据点适合树的每个叶子为止。 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: 在标准randomForest软件包中,有一个称为nodesize的参数来控制此参数:

https://stats.stackexchange.com/questions/158583/what-does-node-size-refer-to-in-the-random-forest 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 . ranger包中的类似参数似乎是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. 您可以将上面链接中的信息与文档进行比较,以使自己确信他们俩都在讨论同一件事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM