Add stick-probability-harness
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Executable
+15
@@ -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
|
||||||
Reference in New Issue
Block a user