apaPatternRecognition.MotifExtraction.TopMotifPairs.FromProfile(profile, profileIndex, windowSize, topK)
Excel
=apaPatternRecognition.MotifExtraction.TopMotifPairs.FromProfile(profile, profileIndex, windowSize, topK)Result
Returns the top non-overlapping motif pairs, i.e. the most similar pairs of subsequences, from matrix profile and matrix profile index vectors.
Syntax
profile: k x 1 or 1 x k matrix profile vector
profileIndex: k x 1 or 1 x k vector of 1-based matrix profile indices
windowSize: length of the subsequences (window size)
topK: number of motif pairs to return. Default value: 10
Algorithm
The subsequences are sorted by ascending matrix profile value, i.e. distance to their nearest neighbor.
Remarks
The result contains a header row and one row per motif pair with the columns Rank, Start1, Start2 (both 1-based) and Distance.
