Out-of-bag classification margins
margin = oobMargin(ens)
margin = oobMargin(ens,Name,Value)
returns
out-of-bag classification margins.margin
= oobMargin(ens
)
calculates
margins with additional options specified by one or more margin
= oobMargin(ens
,Name,Value
)Name,Value
pair
arguments.
|
A classification bagged ensemble, constructed with |
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
|
Indices of weak learners in the ensemble ranging from Default: |
|
A numeric column vector of length |
margin
| oobEdge
| oobLoss
| oobPredict