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
possibly use designmatrix package #8
Comments
Yes I think this would help and I'll import this when it's ready. I think moving holidays (Easter etc) is a must at some point, although of course people can put them in via xreg. |
Great. Easter and major holidays should be easy enough to add, perhaps with an argument |
On the same note I have made a package to generate xregs using a list of events and start and end times. https://github.com/republicwireless-open/foregen Considering that most of the effort of forecasting is feature generation if we can speed up that part we could speed up the overall forecasting process by a lot. |
And another option, the "timekit" package, specifically the |
It looks like you've already setup the coviates to feed into xgboost using lagged values of the timseries--a sensible approach. It could also make sense to included fixed effects for day of week/month/etc.
I started building a package
designmatrix
a few years back to generatexreg
values to feed into forecasting models and anticipated using it withforecastHybrid
eventually. It is barely off the ground, but the basic idea is to make it easy to generate covariates for day of week, weekend, month, quarter, etc. Eventually interactions and holidays for these would be nice as well. If you want to import it, it could serve as a good excuse for me to restart and to finish development. Take a look here: https://github.com/dashaub/designmatrixThe text was updated successfully, but these errors were encountered: