Main Content

Predict responses for observations in cross-validated regression model

specifies options using one or more name-value arguments. For example,
`yFit`

= kfoldPredict(`CVMdl`

,`Name,Value`

)`'IncludeInteractions',true`

specifies to include interaction terms in
computations. This syntax applies only to generalized additive models.

`[`

also returns the standard deviations and prediction intervals of the response variable,
evaluated at each observation in the predictor data `yFit`

,`ySD`

,`yInt`

] = kfoldPredict(___)`CVMdl.X`

, using any
of the input argument combinations in the previous syntaxes. This syntax applies only to
generalized additive models for which the `IsStandardDeviationFit`

property of `CVMdl`

is
`true`

.

`kfoldLoss`

| `RegressionPartitionedModel`

| `RegressionPartitionedEnsemble`

| `RegressionPartitionedSVM`

| `RegressionPartitionedGAM`