Some cleanup before we start proper analysis
This commit is contained in:
@@ -7,4 +7,4 @@ their reproduction.
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
./tools/stick-probability-specific-harness.bash $(seq 0.5 0.02 0.7)
|
./tools/stick-probability-specific-harness.bash $(seq 0.5 0.02 0.7)
|
||||||
```
|
```
|
||||||
|
|||||||
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
-1
@@ -1,4 +1,4 @@
|
|||||||
REF=$(cd "/Users/joshuacoles/Developer/checkouts/jc3091/CompB DLA/rust-codebase/" && git rev-parse --short HEAD && cargo build --release)
|
REF=$(cd "/Users/joshuacoles/Developer/checkouts/jc3091/CompB DLA/rust-codebase/" && git rev-parse --short HEAD && cargo build --release)
|
||||||
cp "/Users/joshuacoles/Developer/checkouts/jc3091/CompB DLA/rust-codebase/target/release/model" ./model-$REF
|
cp "/Users/joshuacoles/Developer/checkouts/jc3091/CompB DLA/rust-codebase/target/release/model" ./model-$REF
|
||||||
#./tools/sp-harness.bash ./model-$REF rust-sp-$REF $(seq 0.2 0.4 1)
|
#./tools/sp-harness.bash ./model-$REF rust-sp-$REF $(seq 0.2 0.4 1)
|
||||||
echo ./model-$REF created
|
echo ./model-$REF created
|
||||||
|
|||||||
@@ -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