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

Function test_subspace_discords

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

Source from the content-addressed store, hash-verified

183
184@pytest.mark.parametrize("T, m", test_data)
185def test_subspace_discords(T, m):
186 discord_idx = 1
187 nn_idx = 4
188
189 for k in range(T.shape[0]):
190 ref_S = naive.subspace(T, m, discord_idx, nn_idx, k, discords=True)
191 comp_S = subspace(T, m, discord_idx, nn_idx, k, discords=True)
192 npt.assert_almost_equal(ref_S, comp_S)
193
194
195@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

subspaceFunction · 0.90

Tested by

no test coverage detected