I am looking at the Tidymodels with R resource and under model tuning, I am having trouble using the extract_parameter_set_dials()
function from the dials package. Attempted to get the tune params for the ames recipe, but got an error saying
> extract_parameter_set_dials(ames_rec)
Error in UseMethod("tune_args") :
no applicable method for 'tune_args' applied to an object of class "recipe"
Greatly appreciate any help. Thanks!