Description Usage Arguments Value Examples
Automatic supervised binning
1 | superv_bin(variable, target, min.p = 0.05, min.cri = 0.95, max.depth = 5)
|
variable |
A variable |
target |
A numeric binary vector 0,1 |
min.p |
Minimal proportion in a group (a ctree_control argument). |
min.cri |
Minimal critetion (a ctree_control argument). |
max.depth |
Maximun depth in the tree |
A list of elements
1 2 3 4 5 6 7 8 9 10 | data("credit")
variable <- credit$age
target <- credit$bad
superv_bin(variable, target)
variable <- credit$marital_status
superv_bin(variable, target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.