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

Function test_multi_distance_profile

tests/test_mstump.py:101–108  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

99
100@pytest.mark.parametrize("T, m", test_data)
101def test_multi_distance_profile(T, m):
102 for query_idx in range(T.shape[0] - m + 1):
103 ref_D = naive.multi_distance_profile(query_idx, T, m)
104
105 M_T, Σ_T = core.compute_mean_std(T, m)
106 comp_D = multi_distance_profile(query_idx, T, m)
107
108 npt.assert_almost_equal(ref_D, comp_D)
109
110
111@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

multi_distance_profileFunction · 0.90

Tested by

no test coverage detected