| 1 | #!/bin/bash |
| 2 | |
| 3 | #$ -N morpheus |
| 4 | #$ -m abes |
| 5 | #$ -M benjamin@auder.net |
| 6 | #$ -pe make 5 |
| 7 | #$ -l h_vmem=1G |
| 8 | #$ -j y |
| 9 | #$ -o .output |
| 10 | rm -f .output |
| 11 | |
| 12 | WORKDIR=/workdir2/auder/morpheus/reports |
| 13 | cd $WORKDIR |
| 14 | |
| 15 | module load R/3.6.0 |
| 16 | |
| 17 | N=1000 |
| 18 | n=1e5 |
| 19 | nc=50 |
| 20 | |
| 21 | link=logit |
| 22 | # and disable d=20 to run faster |
| 23 | |
| 24 | # arg --vanilla maybe possible on cluster |
| 25 | for d in 2 5 10; do |
| 26 | #for link in "logit" "probit"; do |
| 27 | R --slave --args N=$N n=$n nc=$nc d=$d link=$link <accuracy.R >out_$n$link$d 2>&1 |
| 28 | #done |
| 29 | done |
| 30 | |
| 31 | #for d in 2 5; do |
| 32 | # for n in 5000 10000 100000 500000 1000000; do |
| 33 | # for link in "logit" "probit"; do |
| 34 | # R --slave --args N=$N n=$n nc=$nc d=$d link=$link <accuracy.R >out_$n$link$d 2>&1 |
| 35 | # done |
| 36 | # done |
| 37 | #done |