def test_deeming_opencl(): x, y, f, a_correct = create_data() _f, a = timeseries.deeming(x, y, f, 'opencl') assert (np.allclose(a, a_correct))
def test_deeming_opencl(): x, y, f, a_correct = create_data() _f, a = timeseries.deeming(x, y, f, 'opencl') assert(np.allclose(a, a_correct))
def test_deeming_numpy(): x, y, f, a_correct = create_data() _f, a = timeseries.deeming(x, y, f, 'numpy') assert (np.allclose(a, a_correct))
def test_deeming_numpy(): x, y, f, a_correct = create_data() _f, a = timeseries.deeming(x, y, f, 'numpy') assert(np.allclose(a, a_correct))