Description Usage Arguments Details Value See Also
dfBinningFun
is a wrapper and parallelization of smbinning2
, so it can generate the woe configuration list by using optimal binning automatically.
1 2 | dfBinningFun(mydf, binMethod = 1, p = 0.05, maxcat = 10,
aliquots = 5)
|
mydf |
A dataframe only with Xs and Y variables, the last column must be Y. All character x variables must be converted to factors in advance. |
binMethod |
An integer from 1 to 4, indicates 4 different binning methods(see details |
p |
A numeric, means percentage of records per bin, from 0 to 0.5, default |
maxcat |
An integer, specifies the maximum number of categories, default |
aliquots |
An integer, specifies the number of bins for equal-frequency or equal-interval binning method, default |
woe configuration list is a list object lengths as number of x variables in mydf
, whose component is a dataframe consisting of two columns, named as 'vals' and 'woe'.
A list corresponding to X variables in mydf
Other dataset binning and woe-encoding functions: convertCutPoints
,
executeBinFun_df
,
genConfigList
, preBinningFun
,
smbinning2
, woeEncodeFun_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.