The time required by the cross-validation procedure.
Arguments
x
A matrix with the data.
ina
A group indicator variable for the avaiable data.
nfolds
The number of folds in the cross validation.
folds
If you have the list with the folds supply it here. You can also leave it NULL
and it will create folds.
stratified
Do you want the folds to be created in a stratified way? TRUE or FALSE.
seed
You can specify your own seed number here or leave it NULL.
Author
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Details
Cross validation is performed to select the optimal parameters for the maximum
likelihood Cauchy discriminant analysis and also estimate the rate of accuracy.
References
Friedman Jerome, Trevor Hastie and Robert Tibshirani (2017).
The elements of statistical learning. New York: Springer.