【问题标题】:Random Forest Interpretation随机森林解释
【发布时间】:2015-07-18 02:51:30
【问题描述】:

我在 R 中运行了一个随机森林:fit.rf。 我只想知道: 当我输入“fit.rf”时,输出显示“% var Explained” % Var 是否解释了 out of bag 方差? 提前致谢。

【问题讨论】:

    标签: random-forest


    【解决方案1】:

    是的 %variance Explained(regression)和分类错误(class.)是 OOB 交叉验证的。确切的公式,没有很好的记录,但可以在 print 方法中找到。

    下面展示了如何检查“randomForest”类的 S3 模型对象的打印方法

    library(randomForest)
    aFunctionCopy = randomForest:::print.randomForest
    fix(aFunctionCopy)
    print(aFunctionCopy)
    

    ...这里是以前相关questions and answers的链接

    【讨论】:

      猜你喜欢
      • 2019-02-26
      • 2013-02-06
      • 2015-09-29
      • 2013-04-26
      • 2020-03-30
      • 2020-11-10
      • 2015-12-11
      • 2021-09-03
      • 2016-04-02
      相关资源
      最近更新 更多