-
Notifications
You must be signed in to change notification settings - Fork 0
/
tree.sh
executable file
·47 lines (46 loc) · 3.79 KB
/
tree.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
#!/bin/bash
# dont run this unless you want to experience freeeeeeeeeeeeeeze
declare -a arr=("-a=criterion=mae,splitter=best,max_depth=10,max_features=auto"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=auto"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=auto"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=auto"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=sqrt"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=sqrt"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=sqrt"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=sqrt"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=log2"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=log2"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=log2"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=log2"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=auto -u=true -ul=8"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=auto -u=true -ul=8"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=auto -u=true -ul=8"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=auto -u=true -ul=8"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=sqrt -u=true -ul=8"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=sqrt -u=true -ul=8"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=sqrt -u=true -ul=8"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=sqrt -u=true -ul=8"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=log2 -u=true -ul=8"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=log2 -u=true -ul=8"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=log2 -u=true -ul=8"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=log2 -u=true -ul=8"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=auto -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=auto -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=auto -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=auto -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=sqrt -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=sqrt -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=sqrt -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=sqrt -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mae,splitter=best,max_depth=10,max_features=log2 -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=best,max_depth=10,max_features=log2 -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mae,splitter=random,max_depth=10,max_features=log2 -u=true -ul=8 -f=method,url,payload_size"
"-a=criterion=mse,splitter=random,max_depth=10,max_features=log2 -u=true -ul=8 -f=method,url,payload_size"
)
mkdir -p "results"
for i in "${arr[@]}"
do
echo "$i"
touch "results/tree_$i"
python src/limython.py -n=3 -l=10000 -m=tree -r=false -p=best-counter -k=10 $i > "results/tree_$i" &
done