edge
Classification edge for classification ensemble model
Description
returns the classification edge
e
= edge(ens
,tbl
,ResponseVarName
)e
for the trained classification ensemble model
ens
using the predictor data in table
tbl
and the class labels in
tbl.ResponseVarName
.
The classification edge e
is a vector or scalar depending on
the setting of the Mode
name-value
argument.
specifies options using one or more name-value arguments in addition to any of the
input argument combinations in the previous syntaxes. For example, you can specify
the indices of weak learners in the ensemble to use for calculating margins, specify
observation weights, and perform computations in parallel.e
= edge(___,Name=Value
)
Note
If the predictor data X
or the predictor variables in
tbl
contain any missing values, the
edge
function might return NaN. For more
details, see edge might return NaN for predictor data with missing values.