Main Content

Classify observations in cross-validated classification model

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

= kfoldPredict(`CVMdl`

,'IncludeInteractions',`includeInteractions`

)

`kfoldPredict`

computes predictions as described in the corresponding
`predict`

object function. For a model-specific description, see the
appropriate `predict`

function reference page in the following
table.

Model Type | `predict` Function |
---|---|

Discriminant analysis classifier | `predict` |

Ensemble classifier | `predict` |

Generalized additive model classifier | `predict` |

k-nearest neighbor classifier | `predict` |

Naive Bayes classifier | `predict` |

Neural network classifier | `predict` |

Support vector machine classifier | `predict` |

Binary decision tree for multiclass classification | `predict` |

`ClassificationPartitionedModel`

| `kfoldEdge`

| `kfoldfun`

| `kfoldLoss`

| `kfoldMargin`