Takes a tibble with a binary response and then puts them in a list that categorizes one dataset as a majority case and the other as a minority case.
1 | split_by_class(training_data, target.var.expr)
|
training_data |
a training data set |
target.var.expr |
an expression that refers to the binary response variable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.