setup_SuperConfigLive: Setup SuperConfigLive

View source: R/190_SuperConfig.R

setup_SuperConfigLiveR Documentation

Setup SuperConfigLive

Description

Build a SuperConfigTabular – same shape as setup_SuperConfig but with in-memory tabular data instead of file paths.

Usage

setup_SuperConfigLive(
  dat_training,
  dat_validation = NULL,
  dat_test = NULL,
  outcome = NULL,
  features = NULL,
  weights = NULL,
  positive_class = NULL,
  preprocessor_config = NULL,
  decomposition_config = NULL,
  hyperparameters = NULL,
  tuner_config = NULL,
  outer_resampling_config = NULL,
  execution_config = setup_FutureExecution(),
  question = NULL,
  outdir = NULL,
  verbosity = 1L
)

Arguments

dat_training

data.frame or data.table. Training data.

dat_validation

data.frame, data.table, or NULL.

dat_test

data.frame, data.table, or NULL.

outcome

Optional Character: Name of the outcome column; NULL for rtemis's convention, the last column.

features

Optional Character vector: Names of the predictor columns; NULL for every column except the outcome.

weights

Optional Character: Column name in dat_training used as observation weights.

positive_class

Optional Character: For binary classification, the outcome level to treat as positive; forwarded to train which reorders the outcome factor via set_positive_class. NULL keeps the existing level order.

preprocessor_config, hyperparameters, tuner_config, outer_resampling_config, execution_config, question, verbosity

See setup_SuperConfig.

decomposition_config

Optional DecompositionConfig: Configuration for data decomposition.

outdir

Optional Character: Output directory; NULL means "do not write to disk" (the rtemislive case).

Value

SuperConfigTabular object.

Author(s)

EDG

Examples

scl <- setup_SuperConfigLive(
  dat_training = iris,
  hyperparameters = setup_LightGBM(),
  outer_resampling_config = setup_KFold(),
  question = "Can we tell iris species apart given their measurements?"
)

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.