Main Content
edge
Classification edge for discriminant analysis classifier
Syntax
Description
returns the classification Edge
e
= edge(Mdl
,Tbl
,ResponseVarName
)e
for the trained discriminant analysis classifier model
Mdl
using the predictor data in table Tbl
and
the class labels in Tbl.ResponseVarName
.
The classification edge is the weighted mean value of the classification Margin.
returns the classification edge e
= edge(___,Weights=weights
)e
using the weights in
weights
.
Note
If the predictor data X
contains any missing values, the
edge
function might return NaN. For more details, see
edge might return NaN for predictor data with missing values.