tune
tune copied to clipboard
Documentation of `tune_grid` states `object` to be a finalized workflow without tuning parameters
last_fit expects the param object to be a finalized workflow without any tuning parameters, which is reasonable for last_fit:
https://github.com/tidymodels/tune/blob/d62199a91337d003fbc31265aa87047ad3888b7f/R/last_fit.R#L7
However, I noticed that this param description is copy-pasted into the tune_grid documentation via the inheritParams directive:
https://github.com/tidymodels/tune/blob/d62199a91337d003fbc31265aa87047ad3888b7f/R/tune_grid.R#L7
Especially for tune_grid, tuning should be enabled.