| synth_spec_tuner_api | R Documentation |
synth_spec objectAdd, update, or remove tuners from a synth_spec object
add_custom_tuners(synth_spec, ...)
update_custom_tuners(synth_spec, ...)
remove_custom_tuners(synth_spec)
synth_spec |
A |
... |
Optional named lists with two elements, |
A new synth_spec object.
A new synth_spec object with added custom tuners.
A new synth_spec object with updated custom tuners.
A new synth_spec object with removed custom tuners.
synth_spec <- synth_spec()
tuner1 <- list(
v = 3,
grid = 3,
metrics = yardstick::metric_set(yardstick::rmse)
)
add_custom_tuners(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "tuner" = tuner1)
)
synth_spec <- synth_spec()
tuner1 <- list(
v = 3,
grid = 3,
metrics = yardstick::metric_set(yardstick::rmse)
)
update_custom_tuners(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "tuner" = tuner1)
)
synth_spec <- synth_spec()
tuner1 <- list(
v = 3,
grid = 3,
metrics = yardstick::metric_set(yardstick::rmse)
)
synth_spec <- add_custom_tuners(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "tuner" = tuner1)
)
remove_custom_tuners(synth_spec = synth_spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.