Description Usage Arguments Value Author(s) Examples
The function takes base data, target and the categorical variable for which IV is to be calculated. It returns a dataframe with the WOE and IV value of the variable.
1 | categorical_iv(base, target, variable, event = 1)
|
base |
input dataframe |
target |
column / field name for the target variable to be passed as string (must be 0/1 type) |
variable |
categorical variable name for which IV is to be calculated, to be passed as string |
event |
(optional) the event class, to be passed as 0 or 1 (default is 1) |
The function returns a dataframe.
Arya Poddar <aryapoddar290990@gmail.com>
Aiana Goyal <aianagoel002@gmail.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.