Regression error by resubstitution
L = resubLoss(ens)
L = resubLoss(ens,Name,Value)
returns the
resubstitution loss, meaning the mean squared error computed for the data that L
= resubLoss(ens
)fitrensemble
used to create ens
.
calculates
loss with additional options specified by one or more L
= resubLoss(ens
,Name,Value
)Name,Value
pair
arguments. You can specify several name-value pair arguments in any
order as Name1,Value1,…,NameN,ValueN
.
|
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: |
|
Function handle for loss function, or FUN(Y,Yfit,W) where Default: |
|
Character vector or string scalar representing the meaning of the output
Default: |
|
Loss, by default the mean squared error. |