oobPredict
Predict out-of-bag response of ensemble
Syntax
[label,score]
= oobPredict(ens)
[label,score]
= oobPredict(ens,Name,Value)
Description
[
returns class labels
and scores for label
,score
]
= oobPredict(ens
)ens
for out-of-bag data.
[
computes
labels and scores with additional options specified by one or more label
,score
]
= oobPredict(ens
,Name,Value
)Name,Value
pair
arguments.
Input Arguments
|
A classification bagged ensemble, constructed with |
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
| Indices of weak learners in the ensemble ranging from Default: |
| Indication to perform inference in parallel, specified as Default: |
Output Arguments
|
Classification labels of the same data type as the training data |
|
An |