View source: R/pull_dials_object.R
pull_dials_object | R Documentation |
This function has been deprecated; please use
hardhat::extract_parameter_dials()
instead.
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, ...)
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")
# ->
extract_parameter_dials(glmn_param, "lambda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.