Description Usage Arguments Value
This function will compute the information value for each variable in the supplied dataset. Variables must be pre-binned; any variable other than the response not of class "factor" will cause an error. Response should be numeric and binary
1 |
dat |
Dataset, a |
response |
string giving the name of the binary (0/1) response variable in the dataset |
var_grouping |
optional table giving the grouping structure of the variables. If provided, variables
will be sorted by IV within the groups. Useful for selecting variables after performing
some clustering procedure. Format: a |
a nrow(dat) x 2 tbl_df
with two columns: var
, giving each
variable name, and iv
, giving the Information Value
The function will auto-merge pure bins, and return the information value obtained using the final
merged bins.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.