| scr_funnel | R Documentation |
The central deliverable. One row per input column, plus one per derived
variable, with the descriptive profile, the verdict of every gate, the
votes of every model and exit_stage, the exact stage at which the
variable failed. No candidate disappears from the report.
scr_funnel(x, only_selected = FALSE, cols = "essentials")
x |
An object from |
only_selected |
If |
cols |
|
A data.table ordered with the approved first.
exit_stage00.configNever competed: it was in drop.
01.triageConstant, near-constant, high cardinality, exact duplicate, missing share above the ceiling, or no signal in the coarse IV.
02.binningThe binning algorithm failed on this column.
03.screeningFailed one of the eight admission rules.
04.holdoutIV dropped out of sample, unstable PSI, or part of the hold-out falls in no bin.
05.correlationRedundant with a better-ranked variable.
05b.derived_excludedPassed everything, but is a column the
pipeline created and allow_derived_final = FALSE.
06.consensusNot enough votes, or outside the top-N.
07.approvedEntered the shortlist.
08.manual_dropIn the automatic consensus, but removed by the
analyst in the coarse classing lab (scr_classing_choose()).
Other accessors:
scr_gains(),
scr_leakage(),
scr_result,
scr_score_gains(),
scr_score_metrics(),
scr_selected()
cfg <- scr_config(verbose = FALSE, nthread = 1, use_ranger = FALSE,
xgb_rounds = 60, n_boot = 20)
res <- scr_select(scr_demo, "default", config = cfg, drop = "id",
date_col = "ref_date")
head(scr_funnel(res, only_selected = TRUE))
table(scr_funnel(res, cols = "all")$exit_stage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.