party包中的ctree函数 - 如何以简单的方式获取分割变量列表
我试图在使用ctree
时获取树的分割变量列表。
我找到了一种使用 psplit 获取特定节点的特定分割变量的方法。但我想获得整个树中分割变量的完整列表。
有没有什么简单的方法可以得到呢?
I am trying to get the list of the splitting variable of a tree when using ctree
.
I found a way to get a specific splitting variable of a specific node using psplit. But I would like to get the whole list of the splitting variables in the entire tree.
Is there any simple way to get it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
工作:
这将完成测试代码的
This will do the job
Testing the code: