Class: ClassificationLinear
Classification edge for linear classification models
returns the classification edges for the trained linear classifier
e
= edge(Mdl
,Tbl
,ResponseVarName
)Mdl
using the predictor data in
Tbl
and the class labels in
Tbl.ResponseVarName
.
specifies options using one or more name-value pair arguments in addition to any
of the input argument combinations in previous syntaxes. For example, you can
specify that columns in the predictor data correspond to observations or supply
observation weights.e
= edge(___,Name,Value
)
By default, observation weights are prior class probabilities. If you supply weights using
Weights
, then the software normalizes them to sum to the prior
probabilities in the respective classes. The software uses the normalized weights to
estimate the weighted edge.