Return a dials parameter object associated with parameters
pull_dials_object()
can extract a single dials
parameter object from
different types of objects (e.g. parameter sets, recipes, etc.).
pull_dials_object(x, id, ...) ## S3 method for class 'parameters' pull_dials_object(x, id, ...) ## S3 method for class 'recipe' pull_dials_object(x, id, ...) ## S3 method for class 'model_spec' pull_dials_object(x, id, ...) ## S3 method for class 'workflow' pull_dials_object(x, id, ...)
x |
The results of a call to |
id |
A single string for the |
... |
Not currently used. |
A dials
parameter object.
glmn_param <- parameters(lambda = penalty(), mixture()) pull_dials_object(glmn_param, "lambda") # fails: # pull_dials_object(glmn_param, "penalty")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.