View source: R/CrossValidation.R
PcrossVD | R Documentation |
This function is the parallel version of CrossVD
.
PcrossVD(data, K = NULL, get_mean = T, n_clust = NULL, OPT, ...)
data |
list containing the data, elements must be named |
n_clust |
integer the number of clusters to use. If |
if get_mean
is TRUE
, the CV-MSE is returned.
Otherwise the function returns a vector containing all MSE computed for each fold.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.