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

Add pso as an optimization option in ets #483

Closed
robjhyndman opened this issue Jan 19, 2017 · 5 comments
Closed

Add pso as an optimization option in ets #483

robjhyndman opened this issue Jan 19, 2017 · 5 comments
Assignees

Comments

@robjhyndman
Copy link
Owner

I'm interested to see how much difference it makes to forecast accuracy if we use something more reliable in the presence of local minima.

@AnscombesGimlet
Copy link

I believe the 'pso' R package has a plug and play replacement for the optim function. See pso::psoptim. See page 6: https://cran.r-project.org/web/packages/pso/pso.pdf

Hope this helps!

@cbergmeir
Copy link
Collaborator

I remember that 4 years ago I made experiments with a couple of solvers and the M3 data, but the results were not promising. I.e., same or worse accuracy and much increased runtime. The code for using Rmalschains is still in ets.R, but it is commented out. Also, pso wouldn't be my first choice, but I would try optimx, parma::cmaes, GenSA, RcppDE, and Rmalschains. All in all sounds like a good topic for a Masters thesis.

@robjhyndman
Copy link
Owner Author

Yes, I recall. I don't think it is likely to give much better results, and it would obviously take a long running time. The idea was to include an option to get the global optimum with high probability if people want it, but I'm not sold on pso. The existing optimizer often finds a local optimum, but that seems to work ok for forecasting purposes.

@AnscombesGimlet
Copy link

Perhaps allow for user-defined optimization algos? Or is there too much variability in the functions output/format that cbergmeir mentions?

@robjhyndman
Copy link
Owner Author

The output varies enormously. optimix might be a way around it as it tries to standardize the format from various algorithms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants