MCPcopy Index your code
hub / github.com/stumpy-dev/stumpy / distance_matrix

Function distance_matrix

tests/naive.py:111–116  ·  view source on GitHub ↗
(T_A, T_B, m)

Source from the content-addressed store, hash-verified

109
110
111def distance_matrix(T_A, T_B, m):
112 distance_matrix = np.array(
113 [distance_profile(Q, T_B, m) for Q in core.rolling_window(T_A, m)]
114 )
115
116 return distance_matrix
117
118
119def aamp_distance_matrix(T_A, T_B, m, p):

Callers 2

prescrumpFunction · 0.85
scrumpFunction · 0.85

Calls 1

distance_profileFunction · 0.85

Tested by

no test coverage detected