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

[ML] Explore if we can handle sudden changes in the period of seasonality better #2425

Open
tveasey opened this issue Nov 30, 2022 · 0 comments

Comments

@tveasey
Copy link
Contributor

tveasey commented Nov 30, 2022

We had a question which was due to a time series which appeared to well described as seasonal but with a HMM determining the period of the repeat. We don't really support sudden changes in the period of repeat. Any sort of Viterbi algorithm to determine how to decompose such a time series is not well suited to running online and so not suitable for our needs.

Although we allow small changes in period of a seasonal component over time, this is a drift process and doesn't adapt fast enough to such changes. We also continually test how best to decompose a sliding window, but this doesn't handle flipping backward and forward between different states well. Basically, the modelling is generally poor unless the changes are smallish and continuous or infrequent.

We do have one potential mechanism for dealing with this sort of thing slightly better: change detection. In the problem case, it did appear that the signal was literally a time scaled copy of itself in different states. Perhaps we could add a new change type which checks for such events. We would likely still want to wait at least one period, and probably more, before we could be confident that such a change had occurred, particularly since a priori it would be unlikely.

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

1 participant