compute.woe: Create cross-tabulation between factor and binary target

Description Usage Arguments Value Examples

Description

Creates a table with stats about factor values. Also computes Lift and WOEs. Print totals. Sorts result by lift.

Usage

1

Arguments

factor

factor variable

target

binary target variable

Value

Data frame with the number of cases of each class for every factor value, lift and woe.

Examples

1
compute.woe(df$var, df$target)

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