Abstract
TSrepr (Laurinec 2018) is an R package for time series representations computing. Time series representations are, in other words, methods for dimensionality reduction, feature extraction or for the preprocessing of time series. They are used for (Esling and Agon 2012): • Significant reduction of the time series dimensionality, • Emphasis of fundamental (essential) shape characteristics, • Implicit noise handling, • Dimension reduction will reduce the memory requirements and computational complexity of consequent machine learning methods (e.g., classification or clustering). The TSrepr package contains various methods and types of time series representations including the Piecewise Aggregate Approximation (PAA), the Discrete Fourier Transform (DFT), the Perceptually Important Points (PIP), the Symbolic Aggregate approXimation (SAX), the Piecewise Linear Approximation (PLA) and Clipping. Except for these well-known methods, additional methods suitable for seasonal time series are implemented. These methods are based on the model, for example multiple linear regression, robust regression , generalised additive model or triple exponential smoothing (Laurinec and Lucká 2016, Laurinec et al. (2016)). Own developed feature extraction methods from the Clipping representation are also implemented-FeaClip and FeaTrend. In Figure 1, the comparison of all eight available model-based representations in the TSrepr on electricity consumption time series from the randomly picked residential consumer is shown. 0 10 20 30 40 50 0 10 20 30 40 50 −1 0 1 2 3 Time Normalised Load type GAM HW HW−auto L1 LM Mean Median RLM Figure 1. The comparison of model-based time series representations on electricity consumption time series. The length of representations is 48, the same as frequency of the daily season of the used time series. Additional useful functions and methods related to time series representations were also implemented. The TSrepr package includes functions for normalisations and denormali-sations of time series-z-score and min-max methods. It supports the simple computation
Cite
CITATION STYLE
Laurinec, P. (2018). TSrepr R package: Time Series Representations. Journal of Open Source Software, 3(23), 577. https://doi.org/10.21105/joss.00577
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.