select_close: Select prediction models close to the best

View source: R/select.R

select_closeR Documentation

Select prediction models close to the best

Description

Select prediction models close to the best

Usage

select_close(
  comparison,
  k = 1,
  mode = c("weighted", "min"),
  threshold = c(0.5, 0.5),
  max_models = Inf,
  regu = 1,
  break_ties = TRUE,
  ...
)

Arguments

comparison

SEPM.comparison

k

numeric, multiplier

mode

character, "weighted" or "min"

threshold

numeric, length corresponds to number of subgroups

max_models

integer, maximum number of models to be selected

regu

numeric, regularization parameter

break_ties

logical, default: TRUE

...

further arguments (currently ignored)

Value

a vector of selected model indices


maxwestphal/SEPM documentation built on April 12, 2024, 12:09 a.m.