Predict response of ensemble by resubstitution
Yfit = resubPredict(ens)
Yfit = resubPredict(ens,Name,Value)
returns the response Yfit
= resubPredict(ens
)ens
predicts for the data
ens.X
. Yfit
is the predictions of
ens
on the data that fitrensemble
used to create ens
.
predicts
responses with additional options specified by one or more Yfit
= resubPredict(ens
,Name,Value
)Name,Value
pair
arguments.
|
A regression 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: |
|
A vector of predicted responses to the training data, with |