R中的随机森林

R中的随机森林,r,tree,random-forest,R,Tree,Random Forest,例如,如果x是R中的随机林 x <- cforest (y~ a+b+c, data = football), x您不能对该对象进行子集划分,因此在某种意义上,x[[9]]什么都不是,它本身是不可访问的 x是S4类的对象“随机森林类”。此类记录在帮助页面?“RandomForest-class”中。该对象的插槽在此处命名和描述。您还可以通过slotNames() 您无法对该对象进行子集划分,因此在某种意义上,x[[9]]什么都不是,它本身是不可访问的 x是S4类的对象“随机森林类”。此类

例如,如果
x
是R中的随机林

x <- cforest (y~ a+b+c, data = football),

x您不能对该对象进行子集划分,因此在某种意义上,
x[[9]]
什么都不是,它本身是不可访问的

x
是S4类的对象
“随机森林类”
。此类记录在帮助页面
?“RandomForest-class”
中。该对象的插槽在此处命名和描述。您还可以通过
slotNames()


您无法对该对象进行子集划分,因此在某种意义上,
x[[9]]
什么都不是,它本身是不可访问的

x
是S4类的对象
“随机森林类”
。此类记录在帮助页面
?“RandomForest-class”
中。该对象的插槽在此处命名和描述。您还可以通过
slotNames()

library("party")
foo <- cforest(ME ~ ., data = mammoexp, control = cforest_unbiased(ntree = 50))

> slotNames(foo)
 [1] "ensemble"            "where"               "weights"            
 [4] "initweights"         "data"                "responses"          
 [7] "cond_distr_response" "predict_response"    "prediction_weights" 
[10] "get_where"           "update"
 ‘prediction_weights’: a function for extracting weights from
      terminal nodes.