How can I get the distances between each subsequence? #934
Replies: 2 comments 2 replies
-
The MatrixProfile is the column-wise minimum-reduction of the distance matrix. "How can I get the distances between each subsequence?" You can't access the full distance matrix inside the STAMP() algorithm, because the full distance matrix is too large to store in RAM. |
Beta Was this translation helpful? Give feedback.
-
@AllenYYs Welcome to the STUMPY community and thank you for your question!
So, while it may be true that ALL pairwise distances between each subsequence are computed at some point or another, only a list of the top-k (default is Perhaps, you can describe what it is that you are trying to do (provide code and data where possible) and we can try to provide some further guidance/suggestions. |
Beta Was this translation helpful? Give feedback.
-
Basically, I know the matrix profile contains the distances between each subsequence of length m in X and its nearest neighbor subsequence in X.
Before the algorithm gets the final matrix profile, it must have calculated a distance matrix, which should contain the distance for each compared subsequence. I wonder if the Stumpy has saved these results, or I can just have access to the smallest Euclidean distance?
Thanks a lot for your help.
Beta Was this translation helpful? Give feedback.
All reactions