scr_selected: Variables approved for the scorecard

View source: R/accessors.R

scr_selectedR Documentation

Variables approved for the scorecard

Description

The final shortlist, in consensus order (the first is the strongest). It is exactly the list scr_sql() covers and scr_scorecard() fits.

Usage

scr_selected(x, which = c("final", "consensus", "manual"))

Arguments

x

An object from scr_select().

which

"final" (default), "consensus" or "manual" (NULL when no manual choice was made).

Details

After scr_classing_apply() the result carries two lists: the automatic consensus and the analyst's final choice; which picks one, and the default is the final one so that every downstream function follows the analyst's decision.

Value

A character vector of column names.

See Also

Other accessors: scr_funnel(), scr_gains(), scr_leakage(), scr_result, scr_score_gains(), scr_score_metrics()

Examples

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")
scr_selected(res)

scorecraft documentation built on Dec. 6, 2026, 1:09 a.m.