R/m_guide_search.R
guide.search.Rd
Guided MOTIF Discovery for Multidimensional Matrix Profile
guide.search(data, window.size, matrix.profile, profile.index, n.dim)
data | a |
---|---|
window.size | an |
matrix.profile | multidimensional matrix profile (from |
profile.index | multidimensional profile index (from |
n.dim | an |
Returns the motif.idx
with the index of MOTIFs founded and motif.dim
with the spanned
dimensions of respective MOTIF.
Although this functions handles Multivariate Time Series, it can also be used to handle Univariate Time Series.
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.
Website: https://sites.google.com/view/mstamp/
Website: http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
mstomp()
, mstomp.par()
, unconstrain.search()
Other mstomp: mstomp.par
,
mstomp
, unconstrain.search
# This is a fast toy example and results are useless. For a complete result, run the code inside #'Not run' section below. w <- toy_data$sub.len mp <- mstomp(toy_data$data[1:200,], w, verbose = 0) motifs <- guide.search(toy_data$data[1:200,], w, mp$mp, mp$pi, 2)# NOT RUN { w <- toy_data$sub.len mp <- mstomp.par(toy_data$data, w, verbose = 0) motifs <- guide.search(toy_data$data, w, mp$mp, mp$pi, 2) # }