forked from Desbordante/desbordante-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests.sh
executable file
·26 lines (22 loc) · 907 Bytes
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
declare -a datasets=('adult' 'breast_cancer' 'CIPublicHighway' 'EpicMeds' 'EpicVitals' 'iowa1kk' 'LegacyPayors' 'neighbors100k')
declare -a separators=(';' ',' ',' '|' '|' ',' '|' ',')
declare -a header_presence=('false' 'true' 'true' 'true' 'true' 'true' 'true' 'true')
declare -a seeds=(10000)
cd build/target
declare experiment_name=02_08_nocaching
mkdir $experiment_name
for j in "${seeds[@]}"
do
mkdir $experiment_name/$j
for i in $(seq 0 7)
do
#cat 01_07/$j/results_${datasets[i]}.txt | grep 'TIME' > 01_07/$j/results_${datasets[i]}.txt
for k in $(seq 1 1)
do
touch $experiment_name/$j/results_${datasets[i]}.txt
./Desbordante_run --task=fd --algo='pyro' --data="${datasets[i]}".csv --sep="${separators[i]}" --has_header="${header_presence[i]}" --seed=$j | grep 'TIME' >> $experiment_name/$j/results_${datasets[i]}.txt
done
done
done
# перепрогнать на EpicVitals