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

Function test_mstumped_df

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

Source from the content-addressed store, hash-verified

100@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
101@pytest.mark.parametrize("T, m", test_data)
102def test_mstumped_df(T, m, dask_cluster):
103 with Client(dask_cluster) as dask_client:
104 excl_zone = int(np.ceil(m / 4))
105
106 ref_P, ref_I = naive.mstump(T, m, excl_zone)
107 df = pd.DataFrame(T.T)
108 comp_P, comp_I = mstumped(dask_client, df, m)
109
110 npt.assert_almost_equal(ref_P, comp_P)
111 npt.assert_almost_equal(ref_I, comp_I)
112
113
114@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