We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
P
1 parent c7967d0 commit 6597d45Copy full SHA for 6597d45
stumpy/motifs.py
@@ -205,7 +205,11 @@ def motifs(
205
The time series or sequence
206
207
P : numpy.ndarray
208
- Matrix Profile of `T`
+ The (1-dimensional) matrix profile of `T`. In the case where the matrix
209
+ profile was computed with `k > 1` (i.e., top-k nearest neighbors), you
210
+ must summarize the top-k nearest-neighbor distances for each subsequence
211
+ into a single value (e.g., `np.mean`, `np.min`, etc) and that use that
212
+ derived value as your `P`.
213
214
min_neighbors : int, default 1
215
The minimum number of similar matches a subsequence needs to have in order
0 commit comments