Predict out-of-bag response of ensemble
Yfit = oobPredict(ens)
Yfit = oobPredict(ens,Name,Value)
returns
the predicted responses for the out-of-bag data in Yfit
= oobPredict(ens
)ens
.
predicts
responses with additional options specified by one or more Yfit
= oobPredict(ens
,Name,Value
)Name,Value
pair
arguments.
|
A regression 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 vector of predicted responses for out-of-bag data. You can find the indices of out-of-bag observations for weak
learner ~ens.UseObsForLearner(:,L) |