Main Content
resubMargin
Resubstitution classification margins for classification tree model
Syntax
Description
returns the resubstitution classification margins
m
= resubMargin(tree
)m
for the trained classification tree model tree
using the training data stored in tree.X
and the corresponding true class
labels stored in tree.Y
. m
is returned as a numeric
column vector with the same length as tree.Y
. The software estimates each
entry of m
using the trained classification tree model
tree
, the corresponding row of tree.X
, and the
true class label tree.Y
.
Examples
Input Arguments
More About
Extended Capabilities
Version History
Introduced in R2011a
See Also
margin
| resubLoss
| resubPredict
| resubEdge
| fitctree
| ClassificationTree