av_complexity: Computes the annotation vector that favors complexity

Description Usage Arguments Value References See Also Examples

View source: R/annotations.R

Description

Computes the annotation vector that favors complexity

Usage

1
av_complexity(.mp, data, dilution_factor = 0, apply = FALSE)

Arguments

.mp

a Matrix Profile object.

data

a vector or a column matrix of numeric.

dilution_factor

a numeric. (Default is 0). Larger numbers means more dilution.

apply

logical. (Default is FALSE). Applies the Annotation Vector over the Matrix Profile. Use with caution.

Value

Returns the input .mp object with an embedded annotation vector.

References

See Also

Other Annotation vectors: av_apply(), av_hardlimit_artifact(), av_motion_artifact(), av_stop_word(), av_zerocrossing()

Examples

1
2
3
4
data <- mp_test_data$train$data[1:1000]
w <- 50
mp <- tsmp(data, window_size = w, verbose = 0)
av <- av_complexity(mp, apply = TRUE)

franzbischoff/tsmp documentation built on March 9, 2020, 6:01 a.m.