clipping {TSrepr} | R Documentation |
Creates bit-level (clipped representation) from a vector
Description
The clipping
computes bit-level (clipped representation) from a vector.
Usage
clipping(x)
Arguments
x |
the numeric vector (time series) |
Details
Clipping transforms time series to bit-level representation.
It is defined as follows:
repr_t = {1 if x_t > \mu , 0 otherwise,}
where x_t
is a value of a time series
and \mu
is average of a time series.
Value
the integer vector of zeros and ones
Author(s)
Peter Laurinec, <tsreprpackage@gmail.com>
References
Bagnall A, Ratanamahatana C, Keogh E, Lonardi S, Janacek G (2006) A bit level representation for time series data mining with shape based similarity. Data Mining and Knowledge Discovery 13(1):11-40
Laurinec P, and Lucka M (2018) Interpretable multiple data streams clustering with clipped streams representation for the improvement of electricity consumption forecasting. Data Mining and Knowledge Discovery. Springer. DOI: 10.1007/s10618-018-0598-2
See Also
Examples
clipping(rnorm(50))