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

exp_smoothing() not yielding any results #207

Open
lukasmartig opened this issue Oct 8, 2022 · 3 comments
Open

exp_smoothing() not yielding any results #207

lukasmartig opened this issue Oct 8, 2022 · 3 comments

Comments

@lukasmartig
Copy link

I am not sure whether it is just a memory problem, but when I run exp_smoothing() I never get any result. Tried the example from the help page and it still does not work even when reducing the data to n=20. Have to stop R from computing. Is this a known issue? I'm never getting any error messages. Using modeltime version 4.2.2 and R 4.0.2 on a laptop with Windows 10, 2.6 GHz CPU, 32 GB RAM.

@mdancho84
Copy link
Contributor

Thanks for creating this issue. Can you provide a reproducible example using reprex?

This will help me evaluate the problem.

@lukasmartig
Copy link
Author

Hi Matt, thanks for the quick reply. I'm currently out of office and will send it next week. Good news is: I installed it on my personal notebook (v4.2.2 on R 4.0.2) with all packages from source and up to date and this time all works fine. So I guess either it's an bad installation or a function-conflict in some package.

@lukasmartig
Copy link
Author

Hi again, found out what caused the issue. Updating the forecast packages to v8.18 did the trick. The problem lied in function forecast::ets which you call in modeltime::ets_fit_impl. In v8.16 forecast::ets doesn't seem to find an appropriate solution while for v8.18 it converges within half a second. Here a snippet that worked in v8.18, but failed to converge in v8.16:
timeseries_reprex.zip

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