xgboost works with add_formula but not with recipe

I'm sorry for the poor reprex. I couldn't reproduce my problem as it is because we did a lot of preprocessing and translation of variables.

Nonetheless, I think we've figure it out:

Dates were the problem, we were introducing dates to the model without any coertion and that was what was causing the problem. I will look into step_date and other methods that may help with this issue.

Thank you so much for all your help

1 Like