INNER CODE UNIT · Python

distance_profile

matrix-profile-foundation/matrixprofile · matrixprofile/core.py:476

        distance_profile = np.sqrt(np.real(distance_profile))

    return distance_profile


def precheck_series_and_query_1d(ts, query):
    """
    Helper function to ensure we have 1d time series and query.

    Parameters
    ----------
    ts : array_like
        The array to create a rolling window on.
    query : array_like
        The query.

    Returns
    -------

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…