-
Notifications
You must be signed in to change notification settings - Fork 50
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
Create an average forecaster #558
Comments
Having a window length would make this a simple moving average. Incremental calculation of an SMA requires storing the values observed during that window. Looking at the various |
Hey @bcorbett. +1 that this would become a SMA on my suggested change. In fact I am thinking that a Seeding the forecaster is highly desirable, though we can always treat that as a future enhancement or as a config option. The reason is that at Expedia at least we do continuous delivery, and so we want to be able to redeploy the app without losing a bunch of detectors for the duration of a window. Especially in cases where we're talking about a window that includes a full season (or multiple seasons) -- it wouldn't be feasible to have a detector have to wait two weeks say to come online. The way we've been thinking about this is to have a detector call a metric store for the seed data as part of its initialization process. We haven't done that with any of the detectors yet but that's I think where we want to go. Anyway, if you're interested in taking this on, let us know. OK with full history average and also OK if you prefer to do SMA. If you do SMA, fine to treat init as future enhancement. |
Hi there, Willie. Sorry, got very busy with other work. I finally had a chance to implement this. Let me know what you think. I was able to implement the SMA with a configurable period length and optional seeded initial data set. https://github.com/ExpediaDotCom/adaptive-alerting/pull/614/files |
See https://otexts.com/fpp2/simple-methods.html#simple-methods
We should add a window length to allow us to take the average of the last n observations.
The text was updated successfully, but these errors were encountered: