Description Usage Arguments Examples
This function allows you to eliminate variables which have information value less than a given threshold for a given data set.
1 | IV_elimination(data, default_flag, iv_threshold)
|
data |
A data set needs to be defined. |
default_flag |
Default flag must be specified as a string. |
iv_threshold |
The IV threshold must be specified in order to make an elimination. |
1 2 3 4 5 | default_f <- c('1','0','0', '1','1','0','0','1','1')
birth_year <- c(1980, 1985, 1971,1971,1985,1971,1980,1980,1985)
job <- c(1,1,2, 2,2,3,3,2,3)
example_data <- data.frame(default_f,birth_year,job)
IV_elimination(example_data,"default_f" ,0.50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.