Out-of-bag mean margins
mar = oobMeanMargin(B)
mar = oobMeanMargin(B,'param1',val1,'param2',val2,...)
mar = oobMeanMargin(B) computes average
classification margins for out-of-bag observations in the training
data, using the trained bagger
the margins over all out-of-bag observations.
a row-vector of length
the number of trees in the ensemble.
mar = oobMeanMargin(B,'param1',val1,'param2',val2,...) specifies
optional parameter name/value pairs:
|Character vector or string scalar indicating how |
|Vector of indices indicating what trees to include in this
calculation. By default, this argument is set to |
|Vector of tree weights. This vector must have the same length
as the |