repr_sax {TSrepr} | R Documentation |
SAX - Symbolic Aggregate Approximation
Description
The repr_sax
creates SAX symbols for a univariate time series.
Usage
repr_sax(x, q = 2, a = 6, eps = 0.01)
Arguments
x |
the numeric vector (time series) |
q |
the integer of the length of the "piece" in PAA |
a |
the integer of the alphabet size |
eps |
is the minimum threshold for variance in x and should be a numeric value. If x has a smaller variance than eps, it will represented as a word using the middle alphabet. |
Value
the character vector of SAX representation
Author(s)
Peter Laurinec, <tsreprpackage@gmail.com>
References
Lin J, Keogh E, Lonardi S, Chiu B (2003) A symbolic representation of time series, with implications for streaming algorithms. Proceedings of the 8th ACM SIGMOD Workshop on Research Issues in Data Mining and Knowledge Discovery - DMKD'03
See Also
Examples
x <- rnorm(48)
repr_sax(x, q = 4, a = 5)
[Package TSrepr version 1.1.0 Index]