tdmPreLevel2Target: Relate levels of a column with a target (column).

Description Usage Arguments Note

View source: R/tdmPreprocUtils.r

Description

Print for each level of factor variable f which ratio 0 / 1 of the binary target variable it contains and how many cases are in each level

Usage

1
tdmPreLevel2Target(dset, target, f, opts)

Arguments

dset

data frame

target

name of target column

f

number of column with factor variable

opts

list, here we need

  • opts$thresh_pR

  • opts$verbose

Note

SIDE EFFECTS: some printed output


TDMR documentation built on March 3, 2020, 1:06 a.m.