-
Notifications
You must be signed in to change notification settings - Fork 0
/
lasso.sh
executable file
·59 lines (58 loc) · 5.25 KB
/
lasso.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
53
54
55
56
57
58
59
#!/bin/bash
# dont run this unless you want to experience freeeeeeeeeeeeeeze
declare -a arr=("-a=normalize=False,fit_intercept=False,positive=True,selection=cyclic"
"-a=normalize=True,fit_intercept=False,positive=True,selection=cyclic"
"-a=normalize=False,fit_intercept=True,positive=True,selection=cyclic"
"-a=normalize=True,fit_intercept=True,positive=True,selection=cyclic"
"-a=normalize=False,fit_intercept=False,positive=False,selection=cyclic"
"-a=normalize=True,fit_intercept=False,positive=False,selection=cyclic"
"-a=normalize=False,fit_intercept=True,positive=False,selection=cyclic"
"-a=normalize=True,fit_intercept=True,positive=False,selection=cyclic"
"-a=normalize=False,fit_intercept=False,positive=True,selection=random"
"-a=normalize=True,fit_intercept=False,positive=True,selection=random"
"-a=normalize=False,fit_intercept=True,positive=True,selection=random"
"-a=normalize=True,fit_intercept=True,positive=True,selection=random"
"-a=normalize=False,fit_intercept=False,positive=False,selection=random"
"-a=normalize=True,fit_intercept=False,positive=False,selection=random"
"-a=normalize=False,fit_intercept=True,positive=False,selection=random"
"-a=normalize=True,fit_intercept=True,positive=False,selection=random"
"-a=normalize=False,fit_intercept=False,positive=True,selection=cyclic -u=true -ul=8"
"-a=normalize=True,fit_intercept=False,positive=True,selection=cyclic -u=true -ul=8"
"-a=normalize=False,fit_intercept=True,positive=True,selection=cyclic -u=true -ul=8"
"-a=normalize=True,fit_intercept=True,positive=True,selection=cyclic -u=true -ul=8"
"-a=normalize=False,fit_intercept=False,positive=False,selection=cyclic -u=true -ul=8"
"-a=normalize=True,fit_intercept=False,positive=False,selection=cyclic -u=true -ul=8"
"-a=normalize=False,fit_intercept=True,positive=False,selection=cyclic -u=true -ul=8"
"-a=normalize=True,fit_intercept=True,positive=False,selection=cyclic -u=true -ul=8"
"-a=normalize=False,fit_intercept=False,positive=True,selection=random -u=true -ul=8"
"-a=normalize=True,fit_intercept=False,positive=True,selection=random -u=true -ul=8"
"-a=normalize=False,fit_intercept=True,positive=True,selection=random -u=true -ul=8"
"-a=normalize=True,fit_intercept=True,positive=True,selection=random -u=true -ul=8"
"-a=normalize=False,fit_intercept=False,positive=False,selection=random -u=true -ul=8"
"-a=normalize=True,fit_intercept=False,positive=False,selection=random -u=true -ul=8"
"-a=normalize=False,fit_intercept=True,positive=False,selection=random -u=true -ul=8"
"-a=normalize=True,fit_intercept=True,positive=False,selection=random -u=true -ul=8"
"-a=normalize=False,fit_intercept=False,positive=True,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=False,positive=True,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=True,positive=True,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=True,positive=True,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=False,positive=False,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=False,positive=False,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=True,positive=False,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=True,positive=False,selection=cyclic -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=False,positive=True,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=False,positive=True,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=True,positive=True,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=True,positive=True,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=False,positive=False,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=False,positive=False,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=False,fit_intercept=True,positive=False,selection=random -u=true -ul=8 -f=method,url,payload_size"
"-a=normalize=True,fit_intercept=True,positive=False,selection=random -u=true -ul=8 -f=method,url,payload_size"
)
mkdir -p "results"
for i in "${arr[@]}"
do
echo "$i"
touch "results/lasso_$i"
python src/limython.py -n=3 -l=10000 -m=lasso -r=false -p=best-counter -k=10 $i > "results/lasso_$i" &
done