Learn R Programming

CAST (version 0.9.0)

multiCV: MultiCV

Description

Multiple Cross-Validation with increasing feature space clusteres

Usage

multiCV(model, length.out, method, useWeight, ...)

Value

preds_all

Arguments

model

the model used to get the AOA

length.out

Numeric. Only used if multiCV=TRUE. Number of cross-validation folds. See details.

method

Character. Method used for distance calculation. Currently euclidean distance (L2) and Mahalanobis distance (MD) are implemented but only L2 is tested. Note that MD takes considerably longer. See ?aoa for further explanation

useWeight

Logical. Only if a model is given. Weight variables according to importance in the model?

...

additional parameters to trainDI