Learn R Programming

rtemis (version 1.4.3)

.list_to_SuperConfig: Convert a list to a SuperConfig object

Description

Reconstructs a SuperConfig from a named list, such as the result of parsing a JSON config; read_config uses it for supervised documents. Nested config objects are rebuilt via their respective .list_to_* / setup_* functions.

Usage

.list_to_SuperConfig(x)

Value

SuperConfigPaths object.

Arguments

x

Named list carrying SuperConfig fields (e.g. hyperparameters, decomposition_config, outer_resampling_config).

Author

EDG

Details

Exported for rtemis.server, which reconstructs supervised configs received over the wire.

Examples

Run this code
.list_to_SuperConfig(list(
  dat_training_path = "train.csv",
  outcome = "y",
  hyperparameters = list(algorithm = "GLMNET", alpha = 1)
))

Run the code above in your browser using DataLab