【发布时间】:2014-01-12 01:18:55
【问题描述】:
我需要在 randomForest 中找到具有袋外数据的对象。可以找到袋外错误率,但没有给出该错误所基于的观察结果。如何找到这个对象?
【问题讨论】:
-
你试过
str吗?
标签: r machine-learning classification regression random-forest
我需要在 randomForest 中找到具有袋外数据的对象。可以找到袋外错误率,但没有给出该错误所基于的观察结果。如何找到这个对象?
【问题讨论】:
str吗?
标签: r machine-learning classification regression random-forest
我不这么认为。一般来说randomForest会在算法过程中创建很多袋外样本,而不是一个。因此,一开始就没有一个袋外观察集。
搜索 http://cran.r-project.org/web/packages/randomForest/randomForest.pdf 以查看有关如何使用 out-of-bag 的提及。
【讨论】: