Register a tuning spec under a name
Arguments
- name
Character scalar registry key.
- tuning
A tuning spec or function coercible via
as_tuning().
Examples
register_tuning("tmp_fixed_4", function(...) 4L)
"tmp_fixed_4" %in% tuning_names()
#> [1] TRUE
Register a tuning spec under a name
Character scalar registry key.
A tuning spec or function coercible via as_tuning().
register_tuning("tmp_fixed_4", function(...) 4L)
"tmp_fixed_4" %in% tuning_names()
#> [1] TRUE