bias_variance: Bias-Variance Decomposition

View source: R/bias_variance.R

bias_varianceR Documentation

Bias-Variance Decomposition

Description

Bias-Variance Decomposition

Usage

bias_variance(
  x,
  y,
  mod,
  res1_train.p = 0.7,
  params = list(),
  resample.params = setup.resample(n.resamples = 100),
  seed = NULL,
  verbose = TRUE,
  res.verbose = FALSE,
  ...
)

Arguments

x

Predictors

y

Outcome

mod

Character: rtemis learner

res1_train.p

Numeric: Proportion of cases to use for training

params

List of mod parameters

resample.params

Output of setup.resample

seed

Integer: Seed for initial train/test split

verbose

Logical: If TRUE, print messages to console

res.verbose

Logical: passed to the learning function

...

Additional arguments passed to resLearn

Author(s)

E.D. Gennatas


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