Description Usage Arguments Value
View source: R/dg_run_parallel.R
A wrapper for parallel exectuion of dg_estimate() or dg_bootstrap()
1 2 3 4 5 6 7 8 | dg_run_parallel(
dataset_folder,
model_name,
which_test_set = 0,
iterations,
Ncores = 8,
stage = "model"
)
|
dataset_folder |
absolute path to the dataset folder, is created if non-existent |
model_name |
name of the model that should be computed on the dataset |
which_test_set |
integer, (for stage = "model" only): test_set to exclude from model training, default = 0, i.e. will be chosen depending on iteration parameter |
iterations |
a vector of integers to iterate over in dg_estimate(iteration = iterations[i]) |
Ncores |
integer, how many cores to use for parallelization |
stage |
"model" or "bootstrap" |
writes the model parameters as .txt file to $dataset_folder/$model_name/tmp/dg_model_$testset_$iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.