Cross-validation loss of partitioned regression ensemble
L = kfoldLoss(cvens)
L = kfoldLoss(cvens,Name,Value)
returns
the cross-validation loss of L
= kfoldLoss(cvens
)cvens
.
returns
cross-validation loss with additional options specified by one or
more L
= kfoldLoss(cvens
,Name,Value
)Name,Value
pair arguments. You can specify
several name-value pair arguments in any order as Name1,Value1,…,NameN,ValueN
.
|
Object of class |
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 folds ranging from Default: |
|
Function handle for loss function, or fun(Y,Yfit,W) where
The returned value Default: |
|
Method for computing cross-validation loss.
Default: |
|
The loss (mean squared error) between the observations in a
fold when compared against predictions made with an ensemble trained
on the out-of-fold data. |