Skip to content

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

Description

@jmrichardson

Hi, I was hoping someone could help me better understand the "cutoff" parameter in "stumpy.motifs". From docs:

    cutoff : float, default None
        The largest matrix profile value (distance) that a candidate motif is allowed
        to have. If `None`, this defaults to
        `np.nanmax([np.nanmean(P) - 2.0 * np.nanstd(P), np.nanmin(P)])`

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions