Argument | Category | Description |
---|---|---|
Function | Required | Specifies the name of the function to be cross-validated. The function must be GLM (not case-sensitive). |
training_function_argument | Optional | Arguments of the function to be cross-validated. Required if the function to be cross-validated requires it, otherwise optional.
|
CVParams | Required | Specifies the arguments to use in cross-validation. |
FoldNum | Optional | Specifies the value of k in k-fold cross-validation. The default value is 10. |
CVTable | Optional | Specifies the name of the output table that contains the cross-validation errors for all models. The default value is 'cvtable'. |
Metric | Optional | Specifies the error function to use to calculate the cross-validation error:
|