Description Usage Arguments Details Value
Calculates v-fold or leave-one-out cross-validation without selecting a new set of features with each fold. See Details.
1 |
array |
Specifies the |
top |
A numeric scalar or character vector. A numeric scalar indicates
the number of top features that should undergo feature selection. A character vector
indicates specifically which features by name should undergo feature selection.
Set |
how |
A character string. The |
fold |
A numeric scalar. The number of folds for cross-validation.
Set |
aucSkip |
A logical scalar. Argument passed to |
plCV.acc |
A string. The performance metric to use. For example,
choose from "acc", "sens", "spec", "prec", "f1", "auc", or any of the
regression specific measures. Argument passed to |
... |
Arguments passed to the |
plCV
performs v-fold or leave-one-out cross-validation. The argument
fold
specifies the number of v-folds to use during cross-validation.
Set fold = 0
to perform leave-one-out cross-validation.
This type of cross-validation is most appropriate if the data
has not undergone any prior feature selection. However, it is also useful
as an unbiased guide to parameter selection within another
pl
workflow.
Users should never need to call this function directly. Instead, they
should use plMonteCarlo
or plNested
.
There, plCV
handles inner-fold cross-validation.
The average inner-fold cross-validation accuracy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.