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

Function test_subspace

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

Source from the content-addressed store, hash-verified

158
159@pytest.mark.parametrize("T, m", test_data)
160def test_subspace(T, m):
161 motif_idx = 1
162 nn_idx = 4
163
164 for k in range(T.shape[0]):
165 ref_S = naive.subspace(T, m, motif_idx, nn_idx, k)
166 comp_S = subspace(T, m, motif_idx, nn_idx, k)
167 npt.assert_almost_equal(ref_S, comp_S)
168
169
170@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

subspaceFunction · 0.90

Tested by

no test coverage detected