apaPatternRecognition.ShapeletFeatures.FromSeries.Auto(shapeletSourceSeries, targetSeries, windowSize, topKMotifs, topKDiscords)
=apaPatternRecognition.ShapeletFeatures.FromSeries.Auto(shapeletSourceSeries, targetSeries, windowSize, topKMotifs, topKDiscords)Result
Determines motif and discord shapelets from a source time series and returns distance-based shapelet features for a target time series.
Syntax
shapeletSourceSeries: r x 1 or 1 x r data vector containing the source time series used to discover the motif and discord shapelets
targetSeries: r x 1 or 1 x r data vector containing the target time series to transform into shapelet features
windowSize: length of the subsequences (window size)
topKMotifs: number of motif-derived shapelets to include, 0 for none. Default value: 3
topKDiscords: number of discord-derived shapelets to include, 0 for none. Default value: 3
Algorithm
The matrix profile of the source series is calculated (see apaPatternRecognition.MatrixProfile).
Remarks
The result contains a header row and one row per shapelet with the columns ShapeletId, Source, Length, BestDistance and BestMatchStart (1-based).
