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

Description Usage Arguments Value Examples

View source: R/functions.R

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/R_ml_utils documentation built on May 3, 2019, 4:07 p.m.