Home   >   User Resources   >   Online Help   >   apaPatternRecognition.TopDiscords.FromSeries
 

 

Function index Version 3.0.0

apaPatternRecognition.TopDiscords.FromSeries(series, windowSize, topK)

Excel=apaPatternRecognition.TopDiscords.FromSeries(series, windowSize, topK)

Result

Calculates the matrix profile for a univariate time series and returns the top non-overlapping discords, i.e. the most unusual subsequences.

Syntax

series: r x 1 or 1 x r data vector containing a time series

windowSize: length of the subsequences (window size)

topK: number of discords to return. Default value: 10

Algorithm

The matrix profile is calculated (see apaPatternRecognition.MatrixProfile).

Remarks

The result contains a header row and one row per discord with the columns Rank, Start, NearestNeighborStart (both 1-based) and Distance.