| scr_classing_view | R Documentation |
Prints the current bins (optimal, or the accepted manual ones) with
train and hold-out side by side and a text bar chart of the event rate,
or, without variable, one line per variable of the lab.
scr_classing_view(lab, variable = NULL)
lab |
An object from |
variable |
A variable name, or |
Invisibly, the bins table (variable given) or the overview table.
scr_coarse_classing() for a complete session, from lab to
scorecard.
Other classing:
scr_classing_accept(),
scr_classing_apply(),
scr_classing_choose(),
scr_classing_propose(),
scr_classing_spec(),
scr_coarse_classing(),
scr_decisions()
cfg <- scr_config(verbose = FALSE, nthread = 1, use_ranger = FALSE,
use_lightgbm = FALSE, xgb_rounds = 40, n_boot = 10)
d <- scr_demo[, c("default", "ref_date", "ds_region", "ds_band", "vl_score_01",
"vl_score_02", "vl_score_05", "vl_score_10", "vl_hist_01")]
res <- scr_select(d, "default", config = cfg, date_col = "ref_date")
lab <- scr_coarse_classing(res)
scr_classing_view(lab)
scr_classing_view(lab, "ds_region")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.