stumpy icon indicating copy to clipboard operation
stumpy copied to clipboard

Add Tutorial on Non-Normalized Methods

Open seanlaw opened this issue 3 years ago • 3 comments

We currently support aamp, aamped, and aampi and it would be useful to create tutorials for them

seanlaw avatar Aug 20 '20 15:08 seanlaw

@Attol8 This is another short one too if you are interested 😄

seanlaw avatar Sep 19 '20 15:09 seanlaw

Hi @seanlaw , I hope I get the time to have a go at this. Just a quick update is that we are still trying to come up with a robust version of matrix profiles using different subsequence sizes. Perhaps also one day we can have a chat to discuss how it may be possible to discover seasonality using matrix profiles (I remember your hint towards TS chains).

I was just wondering about the time complexity of AAMPI. According to the authors, I understand in the batch mode (warm start) the complexity is O(n*2). But what about the incremental updates? is it O(n)? or O(1)?

hmcoservit avatar Nov 19 '20 11:11 hmcoservit

I hope I get the time to have a go at this. Just a quick update is that we are still trying to come up with a robust version of matrix profiles using different subsequence sizes. Perhaps also one day we can have a chat to discuss how it may be possible to discover seasonality using matrix profiles (I remember your hint towards TS chains).

Cool. Please make sure to report what you have in mind first so that we can discuss it and talk through it before anything is written 👍

I was just wondering about the time complexity of AAMPI. According to the authors, I understand in the batch mode (warm start) the complexity is O(n*2). But what about the incremental updates? is it O(n)? or O(1)?

I believe that this is still O(n * m) (where n is either the length of the full history OR the length of the rolling history and m is the subsequence length) because we employ core._mass_absolute to compute the updated distance profile. It is certainly not O(1) because we need to compare the new ingressed subsequence with the entire time series (or rolling history). For small values of n and m, it probably feels like a very fast O(k) constant time.

seanlaw avatar Nov 19 '20 16:11 seanlaw