create.woe: Create WOE mapping

Description Usage Arguments Value Examples

Description

Computes WOE If one group is empty, woe := 2 * max(WOE) (or 2 * min(WOE))

Usage

1
create.woe(x, vars = colnames(x), y)

Arguments

x

data.frame with varaibles

vars

variables of interest (must be factors!)

y

target variable

Value

data.frame with WOE mapping (value->woe) that can be further applied to new datasets

Examples

1
create.woe(df, c('var1','var2','var3'), df$target)

konstantin-kotochigov/ML-UTILS documentation built on May 17, 2019, 7:30 p.m.