Understanding the exclusion zone for very large window sizes #1076
-
Greetings, I was trying to understand this on my own but I'm having difficulties, so I thought of asking here. I have a kind of big Time Series (around 464k points) and I was trying to identify motifs using some default time values (for example 1 hour, 3 hours, 1 day, 1 week etc.). When running
To fix this I think I should increase the value of Thanks in advance! Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
@giacomoguiduzzi Can you please provide a minimum reproducible example with |
Beta Was this translation helpful? Give feedback.
As discussed in issue #1077, the problem that you are encountering is that the
m
must be smaller than or equal ton - excl_zone
(note thatexcl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
. If this is violated, then you will never get any valid nearest neighbor matches. In your case,m
is simply too large to return any valid nearest neighbor (i.e., all subsequences are eliminated either because they are residing within the exclusion zone of theith
subsequence or because all other remaining subsequences (near the start/end of the time series) are too short (i.e., shorter thanm
) and…