tune_args()
takes an object such as a model specification or a recipe and
returns a tibble of information on all possible tunable arguments and
whether or not they are actually tunable.
Arguments
- object
A
model_spec
,recipe
,workflow
, or other object.- ...
Other arguments passed to methods.
Value
A tibble with columns for the parameter name (name
), whether it
contains any tunable value (tune
), the id
for the parameter (id
),
and the information on where the parameter was located (source
).
Details
The source
column is determined differently for a
model_spec
or a recipe
(with additional detail on the type).
The id
field has any identifier that was passed from tune::tune()
(e.g.
tune("some note")
). If no additional detail was used in that function,
the id
field reverts to the name of the parameters.