-
Notifications
You must be signed in to change notification settings - Fork 340
Description
I'm trying to do the following and wonder if it's possible in STUMPY. I have read the tutorials but they don't seem to quite fit my use case perfectly.
Input: Pairs of series (one of type A and one of type B, not equal length). I have 3 classes of pairs. The distribution of each class is below:
- Class 1: ~ 600k pairs
- Class 2: ~ 1k pairs
- Class 3: ~ 1k pairs
I want to find
- multi-dimensional motifs (pattern between both type A and B series) that distinguishes each class (either in pairwise or one vs rest fashion).
- multi-dimensional motifs (pattern between both type A and B series) that are similar.
My use case is different from the Multidimensional_Motif_Discovery tutorial because the motif is repeated in pairs of the same class, not within any series. Also, the motif might not be aligned between type A and B series
For example, the resulting output should be that all Class 1 pairs have the pattern (type A and type B series not matching in sequence but a consistent pair-pattern of length 4)
- Type A series: [2,4,6,8,....]
- Type B series: [2,2,2,2,....]
while pairs in the other classes dont
And all Class 2 pairs have the pattern (type A and type B series matching sequence of length 4 but at different locations )
- Type A series [1,3,5,7,....]
- Type B series [...1,3,5,7....]
while pairs in the other classes dont
I hope I didn't make it too confusing, just trying to see if STUMPY could help with my problem!