View source: R/crissCrossValidate.R
crissCrossValidate | R Documentation |
This function has been designed to perform cross-validation and model prediction on datasets in a pairwise manner.
crissCrossValidate(
measurements,
outcomes,
nFeatures = 20,
selectionMethod = "auto",
selectionOptimisation = "Resubstitution",
trainType = c("modelTrain", "modelTest"),
performanceType = "auto",
doRandomFeatures = FALSE,
classifier = "auto",
nFolds = 5,
nRepeats = 20,
nCores = 1,
verbose = 0
)
measurements |
A |
outcomes |
A |
nFeatures |
The number of features to be used for modelling. |
selectionMethod |
Default: |
selectionOptimisation |
A character of "Resubstitution", "Nested CV" or "none" specifying the approach used to optimise nFeatures. |
trainType |
Default: |
performanceType |
Default: |
doRandomFeatures |
Default: |
classifier |
Default: |
nFolds |
A numeric specifying the number of folds to use for cross-validation. |
nRepeats |
A numeric specifying the the number of repeats or permutations to use for cross-validation. |
nCores |
A numeric specifying the number of cores used if the user wants to use parallelisation. |
verbose |
Default: 0. A number between 0 and 3 for the amount of progress messages to give. A higher number will produce more messages as more lower-level functions print messages. |
A list with elements "real"
for the matrix of pairwise performance metrics using real
feature selection, "random"
if doRandomFeatures
is TRUE
for metrics of random selection and
"params"
for a list of parameters used during the execution of this function.
Harry Robertson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.