Piecewise linear approximation of streaming time series data with max-error guarantees
Authors:
- 1 April 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636382,p. 173-184
Abstract
Given a time series S = ((x 1 , y 1 ), (x 2 , y 2 ), ...) and a prescribed error bound ε, the piecewise linear approximation (PLA) problem with max-error guarantees is to construct a piecewise linear function f such that |f(x i )-y i | ≤ ε for all i. In addition, we would like to have an online algorithm that takes the time series as the records arrive in a streaming fashion, and outputs the pieces of f on-the-fly. This problem has applications wherever time series data is being continuously collected, but the data collection device has limited local buffer space and communication bandwidth, so that the data has to be compressed and sent back during the collection process. Prior work addressed two versions of the problem, where either f consists of disjoint segments, or f is required to be a continuous piecewise linear function. In both cases, existing algorithms can produce a function f that has the minimum number of pieces while meeting the prescribed error bound ε. However, we observe that neither minimizes the true representation size of f, i.e., the number of parameters required to represent f. In this paper, we design an online algorithm that generates the optimal PLA in terms of representation size while meeting the prescribed max-error guarantee. Our experiments on many real-world data sets show that our algorithm can reduce the representation size of f by around 15% on average compared with the current best methods, while still requiring O(1) processing time per data record and small space.Keywords
This publication has 17 references indexed in Scilit:
- Approximating Points by a Piecewise Linear FunctionAlgorithmica, 2012
- AnyOut: Anytime Outlier Detection on Streaming Data2012
- POLYLINE FITTING OF PLANAR POINTS UNDER MIN-SUM CRITERIAInternational Journal of Computational Geometry & Applications, 2006
- Approximation and streaming algorithms for histogram construction problemsACM Transactions on Database Systems, 2006
- Online amnesic approximation of streaming time series2004
- Similarity search over time-series data using wavelets2003
- An online algorithm for segmenting time series2002
- Locally adaptive dimensionality reduction for indexing large time series databasesACM Transactions on Database Systems, 2002
- On similarity-based queries for time series data1999
- An on-line algorithm for fitting straight lines between data rangesCommunications of the ACM, 1981