Closed DiabbZegpi closed 3 years ago
I'm sorry you're having trouble! It is very difficult to help you without a reprex.
If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page.
You can install reprex by running (you may already have it, though, if you have the tidyverse package installed):
install.packages("reprex")
I understand that you can't share your models, but if you could show an example where a model built with an old version of hardhat is now failing with the new version, then that would be helpful.
It would also help if we could see the output of traceback()
or rlang::last_trace()
after you get the error
I'm sorry I didn't respond earlier. I've fixed the bug re-training my model with the updated version of tidymodels. Thank you very much.
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.
I have trouble with predict() function
I have a tidymodels workflow, built in december 2020 with a random forests model inside plus recipes. The model was reproducing predictions just fine in the computer where it was developed, but in march 2021 I tried to make predictions on a new computer and failed. I have read that there is a incompability between hardhat 0.1.5 and models fitted previous that release.
How can I fix this?
Reproducible example
I'm just using predict() with new_data argument. I can't share models nor data.