Replies: 1 comment
-
Hi @udf2457, thank you for your question and welcome to the STUMPY community
No, I don't think that it suggests that. First, we must remember what information is stored inside of the matrix profile. Essentially, for each subsequence in your time series, the matrix profile always stores the distance (and index location) to its one-nearest-neighbor. This is true even for a discord (i.e., the matrix profile itself doesn't actually distinguish between motifs/discords)! The only difference between a "motif" and a "discord" is that the "motif" has a one-nearest-neighbor that is very "close", while the "discord" has a one-nearest-neighbor that is, sadly, very far away. However, in both cases, the distance is measured as the z-normalized Euclidean distance. By definition, since the matrix profile only captures the one-nearest-neighbor information, the definition of a "discord" is merely the subsequence in your time series that, currently, has a one-nearest-neighbor that is far away. However, in
So, I think the docs are actually very clear. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The docs seem to strongly hint that the incremental method can only be used for motifs and not discords, e.g. the following wording:
Is my understanding correct ? Or are the docs just unclear and need updating with a discord example ?
Beta Was this translation helpful? Give feedback.
All reactions