Learn R Programming

rtemis (version 1.4.3)

.list_to_TunerConfig: Convert a list to a TunerConfig object

Description

Internal function used by rtemis.server and SuperConfig deserialization to reconstruct a TunerConfig object from a named list. Not intended for direct use by end users.

Usage

.list_to_TunerConfig(x)

Value

A TunerConfig object (currently a GridSearchConfig).

Arguments

x

Named list: type (Character: tuner type; currently only "GridSearch" is supported) plus, as its siblings, the tuner's settings. For "GridSearch": resampler_config (a list accepted by .list_to_ResamplerConfig()), search_type, randomize_p, metrics_aggregate_fn, metric, and maximize. A list holding only type is that tuner with every default.

Author

EDG

Examples

Run this code
.list_to_TunerConfig(list(
  type = "GridSearch",
  resampler_config = list(type = "KFold", n_resamples = 5L),
  search_type = "exhaustive"
))

Run the code above in your browser using DataLab