Description Usage Arguments Value
View source: R/dg_collect_models.R
Reads and collects individual dg models from tmp folder
1 2 3 4 5 6 7 | dg_collect_models(
dataset_folder,
model_name,
model_averaging = "mean",
which_test_set = 0,
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 |
model_averaging |
c("mean" [default], "median"), how to average estimated parameters over different train/test sets |
which_test_set |
for 0, the default, reads individual models from training/test sets, for a number greater 0, only reads models from this training/test set |
stage |
c("model" [default], "bootstrap", "pll"), which stage to collect models from, for bootstrap and pll stage, the functions adds their results to the dg_model.txt table |
returns a data.table with fitted values for all model parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.