matlab:使用选项';ComputeOOBVarImp';

matlab:使用选项';ComputeOOBVarImp';,matlab,Matlab,我试图使用Matlab中的函数Treebagger来评估特征的重要性 Treebagger帮助文件显示: COMPUTEOOBVARIMP Flag to compute out-of-bag variable importance. The ComputeOOBVarImp property is a logical flag specifying whether out-of-bag estimates of variable importance should be com

我试图使用Matlab中的函数Treebagger来评估特征的重要性

Treebagger帮助文件显示:

COMPUTEOOBVARIMP Flag to compute out-of-bag variable importance.
    The ComputeOOBVarImp property is a logical flag specifying whether out-of-bag
    estimates of variable importance should be computed.  The default is
    false. If this flag is true, COMPUTEOOBPREDICTION is true as well.


If this flag is true, the following properties are available:
   OOBPermutedVarDeltaError, OOBPermutedVarDeltaMeanMargin,
   OOBPermutedVarCountRaiseMargin
但我得到的结果是:

b=树形图(20,结果矩阵,输出,'OOBVarImp','on','Method','classification','NVarToSample',10)

> 集成20个袋装决策树:

据我所知,ComputeOOBVarImp设置为true,但属性oobPermitedVardeltaError、oobPermitedVardeltaMeanMargin和oobPermitedVarCountraiseMargin不在这里


有人能帮我解决这个问题吗?非常感谢。

试试b.OOBPermutedVarDeltaError

           Training X:           [4130x308]

           Training Y:             [4130x1]

               Method:       classification

                Nvars:                  308

         NVarToSample:                   10

              MinLeaf:                    1

                FBoot:                    1

SampleWithReplacement:                    1

 ComputeOOBPrediction:                    1

     ComputeOOBVarImp:                    1

            Proximity:                   []

           ClassNames:             '0'             '1'