| mpdist | R Documentation |
MPdist is a distance measure which considers two time series to be similar if they share many similar subsequences, regardless of the order of matching subsequences.
mpdist(
ref_data,
query_data,
window_size,
type = c("simple", "vector"),
thr = 0.05,
n_workers = 1L
)
ref_data |
a |
query_data |
a |
window_size |
an |
type |
the type of result: |
thr |
threshold for MPdist. (Default is |
n_workers |
an |
Returns the distance scalar ("simple") or a numeric vector ("vector").
Gharghabi S, Imani S, Bagnall A, Darvishzadeh A, Keogh E. Matrix Profile XII: MPdist: A Novel Time Series Distance Measure to Allow Data Mining in More Challenging Scenarios. In: 2018 IEEE International Conference on Data Mining (ICDM). 2018.
Website: https://sites.google.com/site/mpdistinfo/
ref_data <- motifs_discords_small[1:200]
qe_data <- motifs_discords_small[201:400]
w <- 30
deq <- mpdist(ref_data, qe_data, w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.