From f68a416911729de214c3f1dd6afb6c8cd2a86b3f Mon Sep 17 00:00:00 2001 From: Thomas Huetter Date: Tue, 8 Mar 2022 07:40:21 +0100 Subject: [PATCH] updated scripts to python3 --- scripts/execute-all-lookups.sh | 44 +++++++++++++++++----------------- scripts/plot-all-lookups.sh | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/execute-all-lookups.sh b/scripts/execute-all-lookups.sh index 6b4f047..0edada7 100644 --- a/scripts/execute-all-lookups.sh +++ b/scripts/execute-all-lookups.sh @@ -25,25 +25,25 @@ mkdir -p results/data/ -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/arxiv/arxiv.bracket -o results/data/arxiv -t 3 5 9 13 3 5 10 15 3 6 11 17 -q 5 2 127 -a 2 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/cards/cards.bracket -o results/data/cards -t 5 10 19 29 7 14 27 40 9 18 35 53 -q 15 423 89 -a 4 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/clothing/clothing.bracket -o results/data/clothing -t 2 3 6 9 2 3 6 9 2 3 6 9 -q 1 2 3 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/dblp/dblp.bracket -o results/data/dblp -t 1 2 4 5 2 3 6 9 2 4 7 10 -q 2 9 1 -a 2 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/denf/denf.bracket -o results/data/denf -t 3 5 10 15 3 5 10 15 3 6 11 16 -q 1 3 7 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/device/device.bracket -o results/data/device -t 7 13 25 37 11 22 44 66 21 41 82 123 -q 122 278 77 -a 5 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/face/face.bracket -o results/data/face -t 2 3 6 9 3 6 11 16 5 10 19 29 -q 2 1 14 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/fenf/fenf.bracket -o results/data/fenf -t 3 5 10 15 3 5 10 15 3 5 10 15 -q 23 51 52 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/movies/movies.bracket -o results/data/movies -t 2 3 5 7 2 3 5 7 2 3 5 7 -q 1 3 4 -a 4 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/nasa/nasa.bracket -o results/data/nasa -t 2 3 6 9 2 3 6 9 2 3 6 9 -q 1 2 3 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/nba/nba.bracket -o results/data/nba -t 45 90 180 270 50 99 197 295 52 103 206 309 -q 2 4 15979 -a 2 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/reads/reads.bracket -o results/data/reads -t 1 2 3 4 1 2 3 4 1 2 3 4 -q 1 2 3 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/recipes/recipes.bracket -o results/data/recipes -t 2 3 5 7 2 3 5 8 2 3 6 9 -q 10 15 2 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/reddit/reddit.bracket -o results/data/reddit -t 13 25 50 74 14 27 54 81 14 28 55 83 -q 24 9 2 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/schema/schema.bracket -o results/data/schema -t 2 4 7 10 3 6 12 18 8 16 31 47 -q 168 113 91 -a 4 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/smsen/smsen.bracket -o results/data/smsen -t 5 9 17 25 5 9 17 25 5 9 17 25 -q 1 2 3 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/smszh/smszh.bracket -o results/data/smszh -t 5 9 17 25 5 9 17 25 5 9 17 25 -q 1 2 3 -a 0 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/spotify/spotify.bracket -o results/data/spotify -t 258 515 1029 1543 258 515 1029 1543 258 515 1029 1543 -q 3 6 7 -a 5 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/standev/standev.bracket -o results/data/standev -t 156 311 621 931 261 522 1043 1565 318 635 1270 1905 -q 19 12 29 -a 4 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/stantrain/stantrain.bracket -o results/data/stantrain -t 75 149 297 445 111 222 444 666 167 333 666 999 -q 136 387 258 -a 4 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/twitter2/twitter2.bracket -o results/data/twitter2 -t 9 17 34 51 10 19 37 56 11 21 42 62 -q 16 156 14 -a 2 -python scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/virus/virus.bracket -o results/data/virus -t 1 2 4 6 1 2 4 6 1 2 4 6 -q 1 2 3 -a 0 \ No newline at end of file +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/arxiv/arxiv.bracket -o results/data/arxiv -t 3 5 9 13 3 5 10 15 3 6 11 17 -q 5 2 127 -a 2 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/cards/cards.bracket -o results/data/cards -t 5 10 19 29 7 14 27 40 9 18 35 53 -q 15 423 89 -a 4 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/clothing/clothing.bracket -o results/data/clothing -t 2 3 6 9 2 3 6 9 2 3 6 9 -q 1 2 3 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/dblp/dblp.bracket -o results/data/dblp -t 1 2 4 5 2 3 6 9 2 4 7 10 -q 2 9 1 -a 2 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/denf/denf.bracket -o results/data/denf -t 3 5 10 15 3 5 10 15 3 6 11 16 -q 1 3 7 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/device/device.bracket -o results/data/device -t 7 13 25 37 11 22 44 66 21 41 82 123 -q 122 278 77 -a 5 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/face/face.bracket -o results/data/face -t 2 3 6 9 3 6 11 16 5 10 19 29 -q 2 1 14 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/fenf/fenf.bracket -o results/data/fenf -t 3 5 10 15 3 5 10 15 3 5 10 15 -q 23 51 52 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/movies/movies.bracket -o results/data/movies -t 2 3 5 7 2 3 5 7 2 3 5 7 -q 1 3 4 -a 4 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/nasa/nasa.bracket -o results/data/nasa -t 2 3 6 9 2 3 6 9 2 3 6 9 -q 1 2 3 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/nba/nba.bracket -o results/data/nba -t 45 90 180 270 50 99 197 295 52 103 206 309 -q 2 4 15979 -a 2 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/reads/reads.bracket -o results/data/reads -t 1 2 3 4 1 2 3 4 1 2 3 4 -q 1 2 3 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/recipes/recipes.bracket -o results/data/recipes -t 2 3 5 7 2 3 5 8 2 3 6 9 -q 10 15 2 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/reddit/reddit.bracket -o results/data/reddit -t 13 25 50 74 14 27 54 81 14 28 55 83 -q 24 9 2 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/schema/schema.bracket -o results/data/schema -t 2 4 7 10 3 6 12 18 8 16 31 47 -q 168 113 91 -a 4 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/smsen/smsen.bracket -o results/data/smsen -t 5 9 17 25 5 9 17 25 5 9 17 25 -q 1 2 3 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/smszh/smszh.bracket -o results/data/smszh -t 5 9 17 25 5 9 17 25 5 9 17 25 -q 1 2 3 -a 0 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/spotify/spotify.bracket -o results/data/spotify -t 258 515 1029 1543 258 515 1029 1543 258 515 1029 1543 -q 3 6 7 -a 5 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/standev/standev.bracket -o results/data/standev -t 156 311 621 931 261 522 1043 1565 318 635 1270 1905 -q 19 12 29 -a 4 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/stantrain/stantrain.bracket -o results/data/stantrain -t 75 149 297 445 111 222 444 666 167 333 666 999 -q 136 387 258 -a 4 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/twitter2/twitter2.bracket -o results/data/twitter2 -t 9 17 34 51 10 19 37 56 11 21 42 62 -q 16 156 14 -a 2 +python3 scripts/execute-lookup.py -e build/exp-lookup -i external/jedi-datasets/input-data/virus/virus.bracket -o results/data/virus -t 1 2 4 6 1 2 4 6 1 2 4 6 -q 1 2 3 -a 0 \ No newline at end of file diff --git a/scripts/plot-all-lookups.sh b/scripts/plot-all-lookups.sh index 3753b2d..4e8de5c 100644 --- a/scripts/plot-all-lookups.sh +++ b/scripts/plot-all-lookups.sh @@ -25,8 +25,8 @@ # Plot runtime results. mkdir -p results/plots/runtime/ -python scripts/plot-runtime.py -i ./results/data/ -o ./results/plots/runtime/ -ys "symlog" -yl "Runtime [in ms]" -xl "Threshold" --l +python3 scripts/plot-runtime.py -i ./results/data/ -o ./results/plots/runtime/ -ys "symlog" -yl "Runtime [in ms]" -xl "Threshold" --l # Plot filter effectiveness. mkdir -p results/plots/effectiveness/ -python scripts/plot-effectiveness.py -i ./results/data/ -o ./results/plots/effectiveness/ -ys "symlog" -yl "#Trees" -xl "Threshold" \ No newline at end of file +python3 scripts/plot-effectiveness.py -i ./results/data/ -o ./results/plots/effectiveness/ -ys "symlog" -yl "#Trees" -xl "Threshold" \ No newline at end of file