View source: R/changeDecisionsDummies.R
changeDecisionsDummies | R Documentation |
Takes decisions and modifies them so that only one level of a multiclass variable is used in decisions
changeDecisionsDummies(
rules,
dummy_var,
data,
target,
classPos = NULL,
in_parallel = FALSE,
n_cores = detectCores() - 1,
cluster = NULL
)
rules |
a data frame with a column "condition". |
dummy_var |
string vector with the names of columns to change to dummy variable. |
data |
data on which to fit the decision ensemble. |
target |
response variable. |
classPos |
for classification, the positive class. |
in_parallel |
if TRUE, the function is run in parallel. |
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 (opt). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.