apaPatternRecognition.ExpandProfile.ToSeries(profile, windowSize)
Excel
=apaPatternRecognition.ExpandProfile.ToSeries(profile, windowSize)Result
Expands a matrix profile vector to the length of the original time series, using the minimum over all overlapping windows.
Syntax
profile: k x 1 or 1 x k matrix profile vector
windowSize: length of the subsequences (window size)
Algorithm
Each matrix profile value is assigned to all windowSize observations of its subsequence. For each observation, the minimum of the assigned values is returned.
Remarks
The result has k + windowSize − 1 elements, i.e. the length of the original time series.
