Main API Function
compute( ts, windows = NULL, query = NULL, sample_pct = 1, threshold = 0.98, n_jobs = 1L )
ts | a |
---|---|
windows | an |
query | a |
sample_pct | a |
threshold | a |
n_jobs | an |
The profile computed.
Computes the exact or approximate Matrix Profile based on the sample percent specified. Currently, MPX and SCRIMP++ are used for the exact and approximate algorithms respectively. See details for more information about the arguments combinations.
When a single windows
is given, the Matrix Profile is computed. If a query
is provided, AB join is computed.
Otherwise the self-join is computed.
When multiple windows
or none are given, the Pan-Matrix Profile is computed. If a threshold
is set (it is,
by default), the upper bound will be computed and the given windows
or a default range (when no windows
), below
the upper bound will be computed.
Website: http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
# Matrix Profile result <- compute(mp_toy_data$data[, 1], 80) if (FALSE) { # Pan-Matrix Profile result <- compute(mp_toy_data$data[, 1]) }