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

Function test_mstumped

tests/test_mstumped.py:42–50  ·  view source on GitHub ↗
(T, m, dask_cluster)

Source from the content-addressed store, hash-verified

40@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
41@pytest.mark.parametrize("T, m", test_data)
42def test_mstumped(T, m, dask_cluster):
43 with Client(dask_cluster) as dask_client:
44 excl_zone = int(np.ceil(m / 4))
45
46 ref_P, ref_I = naive.mstump(T, m, excl_zone)
47 comp_P, comp_I = mstumped(dask_client, T, m)
48
49 npt.assert_almost_equal(ref_P, comp_P)
50 npt.assert_almost_equal(ref_I, comp_I)
51
52
53@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")

Callers

nothing calls this directly

Calls 1

mstumpedFunction · 0.90

Tested by

no test coverage detected