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

Function test_subspace

tests/test_non_normalized_decorator.py:331–338  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

329
330@pytest.mark.parametrize("T, m", test_data)
331def test_subspace(T, m):
332 subseq_idx = 1
333 nn_idx = 4
334
335 for k in range(T.shape[0]):
336 ref_S = maamp_subspace(T, m, subseq_idx, nn_idx, k)
337 comp_S = subspace(T, m, subseq_idx, nn_idx, k, normalize=False)
338 npt.assert_almost_equal(ref_S, comp_S)
339
340
341@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 2

maamp_subspaceFunction · 0.90
subspaceFunction · 0.90

Tested by

no test coverage detected