R/annotations.R
av_stop_word.Rd
Computes the annotation vector that suppresses stop-word motifs
av_stop_word( .mp, data, stop_word_loc, exclusion_zone = NULL, threshold = 0.1, apply = FALSE )
.mp | a Matrix Profile object. |
---|---|
data | a |
stop_word_loc | an |
exclusion_zone | a |
threshold | a |
apply | logical. (Default is |
Returns the input .mp
object with an embedded annotation vector.
The function is intended to be generic. However, its parameters (stop_word_loc
,
exclusion_zone
and threshold
) are highly dataset dependent.
Dau HA, Keogh E. Matrix Profile V: A Generic Technique to Incorporate Domain Knowledge into Motif Discovery. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining - KDD '17. New York, New York, USA: ACM Press; 2017. p. 125-34.
Other Annotation vectors:
av_apply()
,
av_complexity()
,
av_hardlimit_artifact()
,
av_motion_artifact()
,
av_zerocrossing()
data <- mp_test_data$train$data[1:1000] w <- 50 mp <- tsmp(data, window_size = w, verbose = 0) av <- av_stop_word(mp, stop_word_loc = 150, apply = TRUE)