resubPredict
クラス: ClassificationTree
分類木の再代入ラベルを予測
構文
label = resubPredict(tree)
[label,posterior] = resubPredict(tree)
[label,posterior,node] = resubPredict(tree)
[label,posterior,node,cnum] = resubPredict(tree)
[label,...] = resubPredict(tree,Name,Value)
説明
は、データ label
= resubPredict(tree
)tree.X
について tree
が予測したラベルを返します。label
は、関数 fitctree
が tree
の作成に使用したデータに関する tree
の予測です。
[
は、予測に対する事後のクラス確率を返します。label
,posterior
] = resubPredict(tree
)
[
は、再代入データでの label
,posterior
,node
] = resubPredict(tree
)tree
のノード数を返します。
[
は、この予測での予測されるクラス数を返します。label
,posterior
,node
,cnum
] = resubPredict(tree
)
[label,...] = resubPredict(
では、1 つ以上の tree
,Name,Value
)Name,Value
の引数ペアで指定された追加オプションを使用して、再代入予測を返します。
入力引数
出力引数
|
応答
|
|
|
|
各データ行に関連付けられる、
|
|
|
例
詳細
拡張機能
参考
resubEdge
| resubMargin
| resubLoss
| predict
| fitctree