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

Having trouble with simple_exponential_smoothing_forecast #71

Open
tmo2021 opened this issue May 28, 2020 · 1 comment
Open

Having trouble with simple_exponential_smoothing_forecast #71

tmo2021 opened this issue May 28, 2020 · 1 comment

Comments

@tmo2021
Copy link

tmo2021 commented May 28, 2020

I tried to reproduce your code exactly from the third Jupyter Notebook example file that read:

ses_df = simple_exponential_smoothing_forecast(ds=row_ds[1:12], length=12, smoothing_level_constant=0.5)
print(ses_df)

This gave me TypeError: simple_exponential_smoothing_forecast() missing 1 required positional argument: 'demand'.

I tried guessing and specifying what demand was with multiple numbers and variables but when I did so it just printed the word "None"

  • Thanks a ton for the package
@zenz
Copy link

zenz commented Jul 4, 2020

just change ds=row_ds[1:12] to demand=row_ds[1:12] or put row_ds[1:12] for first parameter.

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

2 participants