Run replicated K-fold CV with random splits
.run_replicated_cv(
std_data,
cv_k,
cv_repl,
cv_est_fun,
metric,
par_cluster = NULL,
handler_args = list()
)
standardized full data set
(standardized by .standardize_data
)
number of folds per CV split
number of CV replications.
function taking the standardized training set and the indices of the left-out observations and returns a list of estimates. The function always needs to return the same number of estimates!
function taking a vector of prediction errors and returning the scale of the prediction error.
parallel cluster to parallelize computations.
additional arguments to the handler function.