Replies: 2 comments 7 replies
-
@bjlobo Thank you for your question and welcome to the STUMPY community. Unfortunately, what you are asking for is not possible in STUMPY. While it might seem trivial on the surface, STUMPY employs many complex mathematical manipulations and computational tricks behind the scenes to ensure that the matrix profile is computed as efficiently as possible. This means that there is only a certain class of distance functions that we can accommodate that can allow us to traverse the distance matrix in a diagonal fashion (rather than row-wise or column-wise) and leverage a hidden relationship between the diagonal elements, which is where the time savings comes from. |
Beta Was this translation helpful? Give feedback.
-
@seanlaw I think we should start with this STUMPY document which provides step-by-step proof on the relationship between z-norm distance and When I start from the top and go through the equations to derive a formula for u-normalization, I will get the u-normalized distance provided below: Now, I think |
Beta Was this translation helpful? Give feedback.
-
I know that when normalize=True, stumpy computes the z-nomalized distance between subsequences where z-normalized means that each subsequence has it's mean subtracted before dividing by it's standard deviation before the distance is computed.
Is it possible in stumpy to specify a version where just the mean is subtracted (what I am terming u-normalization because you are only subtracting the mean) before computing the distance?
Beta Was this translation helpful? Give feedback.
All reactions