Usage
batch.model(proc, x, y, resample = emil::resample("crossval", y, nfold = 2,
nrep = 2), pre.process = pre.split, .save = list(fit = FALSE, pred =
FALSE, vimp = FALSE, tuning = FALSE), .parallel.cores = 1,
.checkpoint.dir = NULL, .return.errors = .parallel.cores > 1,
.verbose = FALSE)Arguments
x
Dataset, observations as rows and descriptors as columns.
resample
The test subsets used for parameter tuning. Leave blank to
randomly generate a resampling scheme of the same kind as is used by
batch.model to assess the performance of the whole
modeling procedure. pre.process
Function that performs pre-processing and splits dataset
into fitting and test subsets.
.save
What aspects of the modeling to perform and return to the
user.
.parallel.cores
Number of CPU-cores to use for parallel computation.
.checkpoint.dir
Directory to save intermediate results to. If set
the computation can be restarted with minimal loss of results.
.return.errors
If FALSE the entire modeling is aborted upon an
error. If TRUE the modeling of the particular fold is aborted and
the error message is returned instead of its results.
.verbose
Whether to print an activity log. Set to -1 to
also suppress output generated from the procedure's functions.