Open
Description
Currently, STUMPY supports the parameter normalize which allows users to compute matrix profile for the following cases:
(1) normalize == False
: Compute the distance between subsequences with no transformation
(2) normalize == True
: z-normalize subsequences before computing the (Euclidean) distance
There have been a few interest in using a different transformation:
- u-normalized version of the Matrix Profile #900: Requested a specific transformation, where the mean of each subsequence is being subtracted from it but there is no scaling
- Centering rather than normalizing subsequences duing motif discovery #940: Requested another transformation, where the first element of each subsequence is being subtracted from it.
Usually, when the volume of data is small, it is better to just get all the subsequences, do the transformation, and then compute the full distance matrix (see discussion in #900). But, what if the volume of the data is large? In such case, having an efficient approach to compute the distance considering the custom transformation can be useful.