Add stick-probability-harness
This commit is contained in:
parent
5f386b3ae0
commit
2b44dde52f
@ -0,0 +1,4 @@
|
||||
## Data Structure
|
||||
|
||||
All `.csv` files in the same directory should be of the same system config and contain all information required for
|
||||
their reproduction.
|
||||
15
tools/stick-probability-harness.bash
Executable file
15
tools/stick-probability-harness.bash
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# NOTE: Requires GNU parallel
|
||||
|
||||
MODEL="models/stick-probability"
|
||||
mkdir -p data/stick-probability
|
||||
PROBABILITIES=$(seq 0.1 0.1 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..20} ::: $PROBABILITIES
|
||||
Loading…
Reference in New Issue
Block a user