This commit is contained in:
2023-03-02 11:00:56 +00:00
parent df2c01ef37
commit 2139f6c8cf
3 changed files with 16256 additions and 30 deletions
+6
View File
@@ -2,3 +2,9 @@
All `.csv` files in the same directory should be of the same system config and contain all information required for All `.csv` files in the same directory should be of the same system config and contain all information required for
their reproduction. their reproduction.
## SP
```shell
./tools/stick-probability-specific-harness.bash $(seq 0.5 0.02 0.7)
```
File diff suppressed because one or more lines are too long
+15
View File
@@ -0,0 +1,15 @@
#!/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