INNER CODE UNIT · Python

make_clipping_AV

target/matrixprofile-ts · matrixprofile/annotation_vector.py:35

def make_clipping_AV(ts, m):
    """
    returns an annotation vector proportional to the number if mins/maxs in the window
    """
    av = (ts == ts.min()) | (ts == ts.max())
    av, _ = movmeanstd(av, m)
    return av

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…