pyscamp.selfjoin

pyscamp.selfjoin(a: List[float], m: int, **kwargs) Tuple[numpy.ndarray[numpy.float32], numpy.ndarray[numpy.int32]]

Computes the matrix profile for time series A.

Parameters:
  • a (1D array) – Time series to compute matrix profile for.

  • m (int) – Subsequence length to use for computing the matrix profile.

Returns:

A tuple containing the matrix profile as the first element and the indices as a the second element.

Return type:

Tuple of np.ndarray[float32] and np.ndarray[int32]