powered by
The function batch_woe applies WoE transformations to vectors in the dataframe.
batch_woe
batch_woe(xs, bin_out)
A dataframe with numeric vectors to discretize.
A binning output from the function batch_bin().
A dataframe with identical headers as the input xs. However, values of each variable have been transformed to WoE values.
# NOT RUN { data(hmeq) bin_out <- batch_bin(hmeq$BAD, hmeq[, c('DEROG', 'DELINQ')])$bin_out head(batch_woe(hmeq[, c('DEROG', 'DELINQ')], bin_out)) # }
Run the code above in your browser using DataLab