Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_gpu_aamp_ostinato.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ def test_input_not_overwritten():
def test_extract_several_consensus():
# This test is to further ensure that the function `gpu_aamp_ostinato`
# does not tamper with the original data.
Ts = [np.random.rand(n) for n in [256, 512, 1024]]
Ts = [np.random.rand(n) for n in [64, 128]]
Ts_ref = [T.copy() for T in Ts]
Ts_comp = [T.copy() for T in Ts]

m = 20

k = 5 # Get the first `k` consensus motifs
k = 2 # Get the first `k` consensus motifs
for _ in range(k):
# Find consensus motif and its NN in each time series in Ts_comp
# Remove them from Ts_comp as well as Ts_ref, and assert that the
Expand Down
4 changes: 2 additions & 2 deletions tests/test_gpu_ostinato.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ def test_input_not_overwritten():
def test_extract_several_consensus():
# This test is to further ensure that the function `gpu_ostinato`
# does not tamper with the original data.
Ts = [np.random.rand(n) for n in [256, 512, 1024]]
Ts = [np.random.rand(n) for n in [64, 128]]
Ts_ref = [T.copy() for T in Ts]
Ts_comp = [T.copy() for T in Ts]

m = 20

k = 5 # Get the first `k` consensus motifs
k = 2 # Get the first `k` consensus motifs
for _ in range(k):
# Find consensus motif and its NN in each time series in Ts_comp
# Remove them from Ts_comp as well as Ts_ref, and assert that the
Expand Down