Classify observations in ensemble of classification models
label = resubPredict(ens)
[label,score]
= resubPredict(ens)
[label,score]
= resubPredict(ens,Name,Value)
returns the labels label
= resubPredict(ens
)ens
predicts for the data
ens.X
. label
is the predictions of
ens
on the data that fitcensemble
used to create ens
.
[
also returns scores
for all classes.label
,score
]
= resubPredict(ens
)
[
finds
resubstitution predictions with additional options specified by one
or more label
,score
]
= resubPredict(ens
,Name,Value
)Name,Value
pair arguments.
|
A classification ensemble created 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: |
|
The response |
|
An |