Skip to content

Commit

Permalink
Update parameters in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaldu committed Aug 16, 2024
1 parent 7dc313c commit 296fa5e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_multiple_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_moons_clustering(moons):
if os.path.isfile(f'./moons_output_{_fill_space(backend)}.csv'):
os.remove(f'./moons_output_{_fill_space(backend)}.csv')

c = clue.clusterer(70., 5., 2.5)
c = clue.clusterer(70., 5., 175.)
c.read_data(moons)
c.run_clue(backend=backend)
c.to_csv('./', f'moons_output_{_fill_space(backend)}.csv')
Expand All @@ -103,7 +103,7 @@ def test_sissa_clustering(sissa):
if os.path.isfile(f'./sissa_output_{_fill_space(backend)}.csv'):
os.remove(f'./sissa_output_{_fill_space(backend)}.csv')

c = clue.clusterer(20., 10., 1.)
c = clue.clusterer(20., 10., 20.)
c.read_data(sissa)
c.run_clue(backend=backend)
c.to_csv('./', f'sissa_output_{_fill_space(backend)}.csv')
Expand All @@ -123,7 +123,7 @@ def test_toydet_clustering(toy_det):
if os.path.isfile(f'./toy_det_output_{_fill_space(backend)}.csv'):
os.remove(f'./toy_det_output_{_fill_space(backend)}.csv')

c = clue.clusterer(4.5, 2.5, 1.)
c = clue.clusterer(4.5, 2.5, 4.5)
c.read_data(toy_det)
c.run_clue(backend=backend)
c.to_csv('./', f'toy_det_output_{_fill_space(backend)}.csv')
Expand All @@ -138,17 +138,17 @@ def test_toydet_clustering(toy_det):
c.run_clue()
c.cluster_plotter()

c = clue.clusterer(70., 5., 2.5)
c = clue.clusterer(70., 5., 175.)
c.read_data("./test_datasets/moons.csv")
c.run_clue()
c.cluster_plotter()

c = clue.clusterer(20., 10., 1.)
c = clue.clusterer(20., 10., 20.)
c.read_data("./test_datasets/sissa.csv")
c.run_clue()
c.cluster_plotter()

c = clue.clusterer(4.5, 2.5, 1.)
c = clue.clusterer(4.5, 2.5, 4.5.)
c.read_data("./test_datasets/toyDetector.csv")
c.run_clue()
c.cluster_plotter()

0 comments on commit 296fa5e

Please sign in to comment.