如何为尚未定义maxnodes
参数的林计算maxnodes
?
maxnodes: Maximum number of terminal nodes trees in the forest can
have. If not given, trees are grown to the maximum possible
(subject to limits by ‘nodesize’). If set larger than
maximum possible, a warning is issued.
maxnodes不是nodesize
答案 0 :(得分:1)
可以使用" getTree"找到林中每棵树中的终端节点数。功能。终端节点在" status"中用-1表示。柱。
要查找最大值,您必须找到所有树中的最大终端节点数。