MCPcopy
hub / github.com/stumpy-dev/stumpy / test_aamped_self_join

Function test_aamped_self_join

tests/test_aamped.py:51–59  ·  view source on GitHub ↗
(T_A, T_B, dask_cluster)

Source from the content-addressed store, hash-verified

49@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
50@pytest.mark.parametrize("T_A, T_B", test_data)
51def test_aamped_self_join(T_A, T_B, dask_cluster):
52 with Client(dask_cluster) as dask_client:
53 m = 3
54 for p in [1.0, 2.0, 3.0]:
55 ref_mp = naive.aamp(T_B, m, p=p)
56 comp_mp = aamped(dask_client, T_B, m, p=p)
57 naive.replace_inf(ref_mp)
58 naive.replace_inf(comp_mp)
59 npt.assert_almost_equal(ref_mp, comp_mp)
60
61
62@pytest.mark.filterwarnings("ignore:numpy.dtype size changed")

Callers

nothing calls this directly

Calls 1

aampedFunction · 0.90

Tested by

no test coverage detected