| scr_compare | R Documentation |
One row per target, with the funnel, the hold-out performance of the best model (with CI) and the warning signs.
scr_compare(x)
x |
An object from |
A data.table with one row per successful target.
Other portfolio:
scr_core(),
scr_run(),
scr_runset
cfg <- scr_config(verbose = FALSE, nthread = 1, use_ranger = FALSE,
xgb_rounds = 60, n_boot = 20)
r1 <- scr_select(scr_demo, "default", config = cfg, drop = c("id", "churn"),
date_col = "ref_date")
r2 <- scr_select(scr_demo, "churn", config = cfg, drop = c("id", "default"),
date_col = "ref_date")
scr_compare(list(default = r1, churn = r2))
scr_core(list(default = r1, churn = r2), min_targets = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.