@@ -57,13 +57,12 @@ def mmotifs(
57
57
cutoffs: numpy.ndarray or float, default None
58
58
The largest matrix profile value (distance) for each dimension of the
59
59
multidimensional matrix profile that a multidimenisonal candidate motif is
60
- allowed to have.
61
- If cutoffs is only one value, these value will be applied to every dimension.
60
+ allowed to have. If `cutoffs` is a scalar value, then this value will be
61
+ applied to every dimension.
62
62
63
63
max_matches: int, default 10
64
- The maximum amount of similar matches (nearest neighbors) of a motif
65
- representative to be returned.
66
- The first match is always the self-match for each motif.
64
+ The maximum number of similar matches (nearest neighbors) to return for each
65
+ motif. The first match is always the self/trivial-match for each motif.
67
66
68
67
max_motifs: int, default 1
69
68
The maximum number of motifs to return
@@ -73,18 +72,14 @@ def mmotifs(
73
72
when comparing distances between subsequences.
74
73
75
74
k: int, default None
76
- The number of dimensions (k + 1) in which a motif is present.
77
- This value is available for doing guided search or - together with 'include' -
78
- for constrained search.
79
- The value will be applied to the discovery of all motifs.
80
- If k is None, the value will automatically be computed for each motif using
81
- MDL (unconstrained search).
82
- For more informatioin on search types, see DOI: 10.1109/ICDM.2017.66s
75
+ The number of dimensions (`k + 1`) required for discovering all motifs. This
76
+ value is available for doing guided search or, together with `include`, for
77
+ constrained search. If `k is None`, then this will be automatically be computed
78
+ for each motif using MDL (unconstrained search).
83
79
84
80
include: numpy.ndarray, default None
85
81
A list of (zero based) indices corresponding to the dimensions in T that must be
86
- included in the constrained multidimensional motif search. For more information,
87
- see Section IV D in: DOI: 10.1109/ICDM.2017.66
82
+ included in the constrained multidimensional motif search.
88
83
89
84
normalize : bool, default True
90
85
When set to `True`, this z-normalizes subsequences prior to computing distances.
@@ -123,6 +118,12 @@ def mmotifs(
123
118
stumpy.mdl : Compute the number of bits needed to compress one array with another
124
119
using the minimum description length (MDL)
125
120
121
+ Notes
122
+ -----
123
+ `DOI: 10.1109/ICDM.2017.66 \
124
+ <https://www.cs.ucr.edu/~eamonn/Motif_Discovery_ICDM.pdf>`__
125
+
126
+ For more information on `include` and search types, see Section IV D and IV E
126
127
"""
127
128
T = core ._preprocess (T )
128
129
m = T .shape [- 1 ] - P .shape [- 1 ] + 1
0 commit comments