crossvalidate
Syntax
Description
[
also returns the pipelines learned during k-fold cross validation.cvloss,output1,...,outputN,foldPipelines] = crossvalidate(pipeline,input1,...,inputN,ReturnFoldPipelines=returnFoldPipelines)
[___] = crossvalidate(___,
returns any of the output combinations in the previous syntaxes with additional options
specified by one or more name-value arguments. For example,
Name=Value) specifies to perform holdout
validation with a test set fraction of Holdout=0.20.2.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2026a
See Also
LearningPipeline | learn | run