Evaluates a grid of configurations and picks the one maximizing a stability-based score, optionally penalized by complexity. Designed to be lightweight and robust.
tune_sb_gamlss(
config_grid,
base_args,
score_lambda = 0,
B_small = 30,
metric = c("stability", "deviance"),
K = 3,
progress = TRUE
)a list: best_config, scores (data.frame), and the fitted sb_gamlss object for the best config.
a list of named lists, each containing a subset of sb_gamlss args (e.g., list(engine="grpreg", engine_sigma="sgl", grpreg_penalty="grLasso", sgl_alpha=0.9))
a named list of arguments passed to sb_gamlss() common to all configs
Numeric; complexity penalty weight for stability metric.
number of bootstraps to use during tuning (defaults to 30)
Character; "stability" or "deviance" (K-fold CV).
Integer; folds for deviance CV.
Logical; show progress bar across configs.