-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjob_run.sh
38 lines (24 loc) · 1.16 KB
/
job_run.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
### DATA:
## datafilename = datafile name, must be in INPUT folder
## n = number of binary variables in the datafile
## basisfilename = name of the basis-file, must be in INPUT folder
datafilename=MNIST11.sorted #Big5PT.sorted ## must be in INPUT folder
n=121 #50 # number of variables
basisfilename=MNIST11.sorted_BestBasis_k4_Binary.dat #Big5PT.sorted_BestBasis_Binary.dat ## must be in INPUT folder
### For Sampling:
## mcmfilename = name of the file containing the MCM you want to sample from, this file must be placed in the OUTPUT folder
## N = number of samples
mcmfilename=MNIST11_MCM_inBnew.dat ## must be in OUTPUT folder
N=1000
##################################
### RUN in ORIGINAL BASIS:
#time ./MCM_Greedy.out $datafilename $n
##################################
### RUN in chosen NEW BASIS:
time ./MCM_Greedy.out $datafilename $n -b $basisfilename
##################################
### RUN SAMPLING in ORIGINAL BASIS:
#time ./MCM_Greedy.out $datafilename $n --sample $mcmfilename -N $N
##################################
### RUN SAMPLING in chosen NEW BASIS:
#time ./MCM_Greedy.out $datafilename $n -b $basisfilename --sample $mcmfilename -N $N