Computes the Matrix Profile and Profile Index for Multivariate Time Series.
Usage
mstomp(
data,
window_size,
exclusion_zone = 0.5,
must_dim = NULL,
exc_dim = NULL,
n_workers = 1L,
progress = TRUE
)Arguments
- data
a
matrixofnumeric, where each column is a time series. Acceptsvector,listanddata.frametoo.- window_size
an
intwith the size of the sliding window.- exclusion_zone
a
numeric. Size of the exclusion zone, based on window size (default is0.5).- must_dim
an
intorvectorof which dimensions to forcibly include (default isNULL).- exc_dim
an
intorvectorof which dimensions to exclude (default isNULL).- n_workers
an
int. Number of workers for parallel execution (default is1). For parallel execution across processes, prefer a PSOCK cluster and usen_workers = 1within each worker. See matrixprofiler for fork limitations.- progress
a
logical. IfTRUEwill show a progress bar. (Default isTRUE).
Value
Returns a list with the matrix profile matrix_profile, profile index profile_index,
left and right matrix profiles left_matrix_profile, right_matrix_profile and profile indices
left_profile_index, right_profile_index, window size w, number of dimensions n_dim,
exclusion zone ez, must dimensions must and excluded dimensions exc.
References
Yeh CM, Kavantzas N, Keogh E. Matrix Profile VI : Meaningful Multidimensional Motif Discovery.
Zhu Y, Imamura M, Nikovski D, Keogh E. Matrix Profile VII: Time Series Chains: A New Primitive for Time Series Data Mining. Knowl Inf Syst. 2018 Jun 2;1-27.
See also
Other matrix profile computations:
stamp()
