View source: R/decisions2FullDummy.R
decisions2FullDummy | R Documentation |
This function first transforms all non-numeric variables from data used to train the original model into dummy variables. It then updates the decision ensemble.
decisions2FullDummy(
rules,
data,
in_parallel = FALSE,
n_cores = detectCores() - 1,
cluster = NULL
)
rules |
data frame with a 'condition' column. |
data |
data used to train the original model, or for which the column order corresponds to the column numbers in the rules (column 'condition'). |
in_parallel |
if TRUE, the function is run in parallel (default = FALSE). |
n_cores |
if in_parallel = TRUE, and no cluster has been passed: number of cores to use, default is detectCores() - 1. |
cluster |
the cluster to use to run the function in parallel. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.