Skip to content

Window size meaning & Setting Distance Threshold #482

Answered by JaKasb
phant0mon asked this question in Q&A
Discussion options

You must be logged in to vote
  1. The windowsize is the length of the sub-sequences. Matrix Profile performs pairwise comparison of all possible sub-sequences.
    windowsize = number of samples
    2 hours / 15 minutes = 2h / 0.25h = 8 samples
  2. The problem is not setting a threshold but choosing a specific value for the threshold.
    You can formulate an optimization problem, if you know which performance metric you want to maximize.
    f(data, threshold) -> performance metric
    maximize f(data, threshold) by varying threshold.
    Usually you also need annotated labelled data (ground truth) for the performance metric.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@phant0mon
Comment options

Answer selected by phant0mon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants