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

rework use of augment() in prediction with postprocessor #234

Open
simonpcouch opened this issue May 31, 2024 · 0 comments
Open

rework use of augment() in prediction with postprocessor #234

simonpcouch opened this issue May 31, 2024 · 0 comments

Comments

@simonpcouch
Copy link
Contributor

We can likely rework this:

workflows/R/predict.R

Lines 69 to 72 in 9e6ca98

# use `augment()` rather than `fit()` to get all possible prediction `type`s.
# likely, we actually want tailor to check for the existence of needed
# columns at predict time and just use `predict()` output here.
fit_aug <- augment(fit, new_data, opts = opts, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant