setup.meta.resample: Set resample parameters for meta model training

View source: R/setup.R

setup.meta.resampleR Documentation

Set resample parameters for meta model training

Description

Set resample parameters for meta model training

Usage

setup.meta.resample(
  resampler = "strat.sub",
  n.resamples = 4,
  stratify.var = NULL,
  train.p = 0.75,
  strat.n.bins = 4,
  target.length = NULL,
  verbosity = TRUE
)

Arguments

resampler

Character: Type of resampling to perform: "bootstrap", "kfold", "strat.boot", "strat.sub".

n.resamples

Integer: Number of training/testing sets required

stratify.var

Numeric vector (optional): Variable used for stratification.

train.p

Float (0, 1): Fraction of cases to assign to traininig set for resampler = "strat.sub"

strat.n.bins

Integer: Number of groups to use for stratification for resampler = "strat.sub" / "strat.boot"

target.length

Integer: Number of cases for training set for resampler = "strat.boot".

verbosity

Logical: If TRUE, print messages to console


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.