View source: R/dummy_classifier_caret.R
dummy_classifier_caret | R Documentation |
dummy classifier for a categorical variable, used with the train function in caret.
dummy_classifier_caret(
strategy = "proportional",
constant = NULL,
random_state = NULL
)
strategy |
a strategy from "constant", "most_frequent", "proportional", "uniform", or "stratified". |
constant |
a constant value for the constant strategy. |
random_state |
a random seed. |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.