简体   繁体   English

使用partykit创建随机森林时,如何获得变量的重要性?

[英]How can I get the variable importance when creating a random forest with partykit?

I'm using partykit to create a multi-output random forest. 我正在使用partykit创建多输出随机森林。 The library party provides a function (impVar) to obtain it directly, but I cannot find an equivalent function in partykit. 库方提供了一个函数(impVar)直接获取它,但是我在partykit中找不到等效的函数。 Is there any way to obtain the variable importance to classify with partykit? 有什么方法可以获取对partykit进行分类的可变重要性?

Not yet. 还没。 While the tree fitting functions ctree() and mob() in partykit already supersede the corresponding functionality in the party package, the same is not yet true for cforest() . 虽然ctree()的树拟合函数ctree()mob()已经取代了party包中的相应功能,但对于cforest() ,情况并非如此。 At the moment the latter is a basic re-implementation that has already some new features but also lacks various details, specifically methods for flexible prediction and variable importance. 目前,后者是一种基本的重新实现,它已经具有一些新功能,但也缺少各种细节,特别是用于灵活预测和可变重要性的方法。 We plan to add these in the future, though. 不过,我们计划在将来添加这些。

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

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