Main Content
kfoldPredict
Classify observations in cross-validated classification model
Syntax
Description
specifies whether to include interaction terms in computations. This syntax applies only to
generalized additive models.label
= kfoldPredict(CVMdl
,'IncludeInteractions',includeInteractions
)
Examples
Input Arguments
Output Arguments
Algorithms
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 |
Extended Capabilities
Version History
Introduced in R2011aSee Also
ClassificationPartitionedModel
| kfoldEdge
| kfoldMargin
| kfoldLoss
| kfoldfun