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

Function test_fluss

tests/test_floss.py:144–153  ·  view source on GitHub ↗
(I)

Source from the content-addressed store, hash-verified

142
143@pytest.mark.parametrize("I", test_data)
144def test_fluss(I):
145 L = 5
146 excl_factor = 1
147 custom_iac = naive_iac(I.shape[0])
148 ref_cac = naive_cac(I, L, excl_factor)
149 n_regimes = 3
150 ref_rea = naive_rea(ref_cac, n_regimes, L, excl_factor)
151 comp_cac, comp_rea = fluss(I, L, n_regimes, excl_factor, custom_iac)
152 npt.assert_almost_equal(ref_cac, comp_cac)
153 npt.assert_almost_equal(ref_rea, comp_rea)
154
155
156def test_floss():

Callers

nothing calls this directly

Calls 4

flussFunction · 0.90
naive_iacFunction · 0.85
naive_cacFunction · 0.85
naive_reaFunction · 0.85

Tested by

no test coverage detected