1

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 = treeBagger(20、resultMatrix、runOutputs、'OOBVarImp'、'on'、'Method'、'classification'、'NVarToSample'、10);

> 20個の袋に入れられた決定木のアンサンブル:

           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'

私の理解では、ComputeOOBVarImpはtrueに設定されていますが、プロパティOOBPermutedVarDeltaError、OOBPermutedVarDeltaMeanMargin、およびOOBPermutedVarCountRaiseMarginはここにはありません。

誰かがこの問題で私を助けることができますか?どうもありがとうございます。

4

1 に答える 1

2

b.OOBPermutedVarDeltaError を試してみてください

于 2013-02-07T02:24:41.047 に答える