The repr_seas_profile computes mean seasonal profile representation from a time series.
repr_seas_profile(x, freq, func)the numeric vector
the numeric vector (time series)
the integer of the length of the season
the aggregation function. Can be meanC or medianC or similar aggregation function.
Peter Laurinec, <[email protected]>
This function computes mean seasonal profile representation for a seasonal time series. The length of representation is length of set seasonality (frequency) of a time series. Aggregation function is arbitrary (best choice is for you maybe mean or median).
Laurinec P, Lucka M (2016) Comparison of representations of time series for clustering smart meter data. In: Lecture Notes in Engineering and Computer Science: Proceedings of The World Congress on Engineering and Computer Science 2016, pp 458-463
Laurinec P, Loderer M, Vrablecova P, Lucka M, Rozinajova V, Ezzeddine AB (2016) Adaptive time series forecasting of energy consumption using optimized cluster analysis. In: Data Mining Workshops (ICDMW), 2016 IEEE 16th International Conference on, IEEE, pp 398-405
Laurinec P, Lucká M (2018) Clustering-based forecasting method for individual consumers electricity load using time series representations. Open Comput Sci, 8(1):38–50, DOI: 10.1515/comp-2018-0006
repr_lm, repr_gam, repr_exp
repr_seas_profile(rnorm(48*10), 48, meanC)
Run the code above in your browser using DataLab