-
Notifications
You must be signed in to change notification settings - Fork 1
/
agglo_sin_time_scripts.sh
52 lines (51 loc) · 1.61 KB
/
agglo_sin_time_scripts.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
echo Starting Run Time Tests for Single Linkage...
echo Testing dataset size of 10 points 5 times:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 10 sin >>sin10p_output.txt; sync
((count++))
done
echo Successfully executed $count times, output written to sin10p_output.txt
echo Testing dataset size of 50 points 5 times:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 50 sin >>sin50p_output.txt; sync
((count++))
done
echo successfully executed $count times, output written to sin50p_output.txt
echo Testing dataset size of 100 points 5 times:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 100 sin >>sin100p_output.txt; sync
((count++))
done
echo successfully executed $count times, output written to sin100p_output.txt
echo Testing dataset size of 120 points 5 times:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 120 sin >>120p_output.txt; sync
((count++))
done
echo successfully executed $count times, output written to sin120p_output.txt
echo Testing dataset size of 150 points 5 times:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 150 sin >>150p_output.txt; sync
((count++))
done
echo successfully executed $count times, output written to sin150p_output.txt
echo Testing dataset size of 200 points 5 times. This might take a few minutes:
count=0
while [ $count -le 4 ]
do
python3 hierarchicalclustering.py time 200 sin >>200p_output.txt; sync
((count++))
done
echo successfully executed $count times, output written to sin200p_output.txt
echo All Done!