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

Function test_maamp_subspace_discords

tests/test_maamp.py:120–127  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

118
119@pytest.mark.parametrize("T, m", test_data)
120def test_maamp_subspace_discords(T, m):
121 discord_idx = 1
122 nn_idx = 4
123
124 for k in range(T.shape[0]):
125 ref_S = naive.maamp_subspace(T, m, discord_idx, nn_idx, k, discords=True)
126 comp_S = maamp_subspace(T, m, discord_idx, nn_idx, k, discords=True)
127 npt.assert_almost_equal(ref_S, comp_S)
128
129
130@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

maamp_subspaceFunction · 0.90

Tested by

no test coverage detected