We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When trying to fit a Croston Forecaster it returns a TypeError: not enough arguments: expected 4, got 3
To Reproduce
from darts.datasets import AirPassengersDataset from darts.models import Croston passengers = AirPassengersDataset() y = passengers.load() train = y[:-12] val = y[-12:] model = Croston() model.fit(train)
Expected behavior A fitted model without errors
System (please complete the following information):
The text was updated successfully, but these errors were encountered:
I just tried and for me it works:
Could you try again in a blank virtual environment?
Sorry, something went wrong.
@JensvandeZande , statsforecasting released a new version with some breaking changes.
Try downgrading the package to see uf it fixes the issue:
pip install --upgrade statsforecast==0.6.0
Indeed, i missed this when carrying out the test above. This issue will be fixed in the new release of Darts: #1106
No branches or pull requests
Describe the bug
When trying to fit a Croston Forecaster it returns a TypeError: not enough arguments: expected 4, got 3
To Reproduce
Expected behavior
A fitted model without errors
System (please complete the following information):
The text was updated successfully, but these errors were encountered: