Description Usage Arguments Value Examples
Computes WOE If one group is empty, woe := 2 * max(WOE) (or 2 * min(WOE))
1 | create.woe(x, vars = colnames(x), y)
|
x |
data.frame with varaibles |
vars |
variables of interest (must be factors!) |
y |
target variable |
data.frame with WOE mapping (value->woe) that can be further applied to new datasets
1 | create.woe(df, c('var1','var2','var3'), df$target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.