apaPatternRecognition.ShapeletScoresBinary.Auto(trainingSeriesMatrix, labels, shapeletSourceSeries, windowSize, topKMotifs, topKDiscords)
=apaPatternRecognition.ShapeletScoresBinary.Auto(trainingSeriesMatrix, labels, shapeletSourceSeries, windowSize, topKMotifs, topKDiscords)Result
Determines motif- and discord-derived candidate shapelets from a source time series and scores them for binary classification.
Syntax
trainingSeriesMatrix: r x n matrix of training series, one series per column
labels: 1 x n or n x 1 vector of binary labels (0 or 1), one per training series
shapeletSourceSeries: data vector containing the source time series used to discover the candidate shapelets
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 and the top motif pairs and discords are turned into candidate shapelets.
Remarks
The result has the same columns as apaPatternRecognition.ShapeletScoresBinary.
