-
Notifications
You must be signed in to change notification settings - Fork 908
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
[BUG] Error with XGBModel and Encoders #1991
Comments
Can I ask a question here? I am also getting the same bug
A more general question on this too - if there is no time or computing power limit, is best practice retrain = True or Retrain = False? |
Hi @gvas7, The bug seems to occur only during training, there error when If you have time and computational power, I would recommend
|
Describe the bug
I get a TypeError when trying to fit sparse data with encoders and XGBModel from the darts package.
If I remove the encoders and lags_past_covariates the bug goes away, but I'm not sure why.
To Reproduce
Expected behavior
I expected the model to fit without error, but instead I get the following error:
TypeError: unsupported operand type(s) for //: 'Timedelta' and 'pandas._libs.tslibs.offsets.MonthBegin'
System (please complete the following information):
The text was updated successfully, but these errors were encountered: