Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with tunable entries in tune_args.model_spec #1100

Open
simonpcouch opened this issue Apr 3, 2024 · 1 comment
Open

issue with tunable entries in tune_args.model_spec #1100

simonpcouch opened this issue Apr 3, 2024 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@simonpcouch
Copy link
Contributor

e.g.:

library(tidymodels)

tune_args(
  # known tunable
  linear_reg(penalty = tune()) %>%
    # not known tunable
    set_engine("glmnet", dfmax = tune())
)
#> # A tibble: 2 × 6
#>   name    tunable id      source     component  component_id
#>   <chr>   <lgl>   <chr>   <chr>      <chr>      <chr>       
#> 1 penalty TRUE    penalty model_spec linear_reg <NA>        
#> 2 dfmax   TRUE    dfmax   model_spec linear_reg <NA>

Created on 2024-04-03 with reprex v2.1.0

@simonpcouch simonpcouch added the bug an unexpected problem or unintended behavior label Apr 3, 2024
@simonpcouch
Copy link
Contributor Author

Related to #1104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant