edge
Classification edge for classification tree model
Description
returns the classification
edge
E
= edge(tree
,Tbl
,ResponseVarName
)E
for the trained classification tree model tree
using the predictor data in table Tbl
and the class labels in
Tbl.ResponseVarName
. The classification edge is a numeric scalar value
that represents the weighted average value of the classification
margin.
computes the edge using the observation weights specified in E
= edge(___,Weights=weights
)weights
in
addition to any of the input argument combinations in the previous syntaxes.
Examples
Input Arguments
More About
Extended Capabilities
Version History
Introduced in R2011a
See Also
margin
| loss
| predict
| fitctree
| ClassificationTree
| CompactClassificationTree