tidymodels / dials

Tools for creating tuning parameter values
https://dials.tidymodels.org/
Other
113 stars 27 forks source link

improve prompting on engine-specific arguments without default parameters #230

Closed simonpcouch closed 2 years ago

simonpcouch commented 2 years ago

parsnip's prompting re: engine arguments that don't have default params threw me at first.

library(parsnip)

boost_tree() %>%
  set_engine("C5.0", trials = tune()) %>%
  extract_parameter_set_dials()
#> Collection of 1 parameters for tuning
#> 
#>  identifier   type object
#>      trials trials    lgl
#> Warning: Unknown or uninitialised column: `identifier`.
#> One needs a `param` object: ''

Created on 2022-04-14 by the reprex package (v2.0.1)

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.