Skip to content

Understanding the exclusion zone for very large window sizes #1076

Discussion options

You must be logged in to vote

I'm looking forward to your response about the script whenever you have the time to try it out.

As discussed in issue #1077, the problem that you are encountering is that the m must be smaller than or equal to n - excl_zone (note that excl_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 the ith subsequence or because all other remaining subsequences (near the start/end of the time series) are too short (i.e., shorter than m) and…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@giacomoguiduzzi
Comment options

@seanlaw
Comment options

@giacomoguiduzzi
Comment options

@seanlaw
Comment options

Answer selected by giacomoguiduzzi
@giacomoguiduzzi
Comment options

@seanlaw
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants