Skip to content

stumpy.motifs question regarding "cutoff" and "max_distance" parameter? #548

Answered by seanlaw
jmrichardson asked this question in Q&A
Discussion options

You must be logged in to vote

@jmrichardson Thank you for your question and welcome to the STUMPY community.

I do understand that max_distance is the maximum distance that a motif can have to it's neighbor. But I don't understand how cutoff is used. Thanks for any help.

So, after you've computed the matrix profile, you end up with an array of distances (to their one-nearest-neighbor). Now, say you are interested in finding a motif AND a list of their top matches but, first, you need to scan along your matrix profile and pick a motif. How do you decide which subsequence is a "good" candidate? Typically, you'd choose the subsequence with the smallest matrix profile value as your top motif and then look for "matches" t…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@seanlaw
Comment options

@jmrichardson
Comment options

@fritshermans
Comment options

@seanlaw
Comment options

@fritshermans
Comment options

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

This discussion was converted from issue #547 on February 16, 2022 16:24.