Some cleanup before we start proper analysis
This commit is contained in:
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+11
-2019
File diff suppressed because one or more lines are too long
+1
-1
@@ -4,6 +4,7 @@ import numpy as np
|
|||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import scipy
|
import scipy
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def read_xy(path: str):
|
def read_xy(path: str):
|
||||||
@@ -60,7 +61,6 @@ def fd_of_dfs(dfs):
|
|||||||
return np.mean(fds_clean), np.std(fds_clean)
|
return np.mean(fds_clean), np.std(fds_clean)
|
||||||
|
|
||||||
|
|
||||||
import sys
|
|
||||||
print(sys.argv)
|
print(sys.argv)
|
||||||
np.seterr(divide='ignore')
|
np.seterr(divide='ignore')
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# NOTE: Requires GNU parallel
|
|
||||||
|
|
||||||
MODEL="models/rust-sp"
|
|
||||||
#MODEL=echo
|
|
||||||
mkdir -p data/rust-sp
|
|
||||||
PROBABILITIES=$@
|
|
||||||
|
|
||||||
for i in $PROBABILITIES; do
|
|
||||||
mkdir data/rust-sp/"$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
MAX_PARTICLES=2000
|
|
||||||
|
|
||||||
parallel "$MODEL" '{1}' $MAX_PARTICLES '{2}' 'data/rust-sp/{2}/{1}.csv' ::: {1..100} ::: $PROBABILITIES
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# NOTE: Requires GNU parallel
|
|
||||||
|
|
||||||
MODEL="models/stick-probability"
|
|
||||||
mkdir -p data/stick-probability
|
|
||||||
PROBABILITIES=$(seq 0.01 0.01 1)
|
|
||||||
|
|
||||||
for i in $PROBABILITIES; do
|
|
||||||
mkdir data/stick-probability/"$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
MAX_PARTICLES=2000
|
|
||||||
|
|
||||||
parallel "$MODEL" '{1}' $MAX_PARTICLES '{2}' 'data/stick-probability/{2}/{1}.csv' ::: {1..100} ::: $PROBABILITIES
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# NOTE: Requires GNU parallel
|
|
||||||
|
|
||||||
MODEL="models/stick-probability"
|
|
||||||
mkdir -p data/stick-probability
|
|
||||||
PROBABILITIES=$@
|
|
||||||
|
|
||||||
for i in $PROBABILITIES; do
|
|
||||||
mkdir data/stick-probability/"$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
MAX_PARTICLES=2000
|
|
||||||
|
|
||||||
parallel "$MODEL" '{1}' $MAX_PARTICLES '{2}' 'data/stick-probability/{2}/{1}.csv' ::: {1..100} ::: $PROBABILITIES
|
|
||||||
Reference in New Issue
Block a user