flat-mcmc

Painless, efficient, general-purpose sampling from continuous distributions.
Log | Files | Refs | README | LICENSE

commit 57a93549fd7799d53f59108276bf01b7a28e53de
parent 1e27f267315a575cd636e4b7c9ec0d78e59d4b62
Author: Jared Tobin <jared@jtobin.ca>
Date:   Fri, 30 Nov 2012 23:48:30 +1300

Fix run scripts to use relative path.

Diffstat:
AExamples/demos/bnn.sh | 14++++++++++++++
MExamples/demos/himmelblau.sh | 4++--
MExamples/demos/rosenbrock.sh | 4++--
3 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/Examples/demos/bnn.sh b/Examples/demos/bnn.sh @@ -0,0 +1,14 @@ +#!/bin/bash +DEST_DIR=../data/output + +# consider passing these args to the script +nepochs=1000 +inits=../data/input/inits-2d.dat + +NOW=$(date +"%Y-%m-%d-%H%M") + +./BNN_Flat $nepochs $inits \ + +RTS -N -qg -s \ + > $DEST_DIR/bnn_"$nepochs"_"$NOW".dat \ + 2> $DEST_DIR/bnn_"$nepochs"_"$NOW".rts + diff --git a/Examples/demos/himmelblau.sh b/Examples/demos/himmelblau.sh @@ -1,10 +1,10 @@ #!/bin/bash -DEST_DIR=/Users/jtobin/projects/flat-mcmc/Examples/data/output +DEST_DIR=../data/output # consider passing these args to the script nepochs=1000 burnIn=200 -inits=/Users/jtobin/projects/flat-mcmc/Examples/data/input/inits-2d.dat +inits=../data/input/inits-2d.dat NOW=$(date +"%Y-%m-%d-%H%M") diff --git a/Examples/demos/rosenbrock.sh b/Examples/demos/rosenbrock.sh @@ -1,9 +1,9 @@ #!/bin/bash -DEST_DIR=/Users/jtobin/projects/flat-mcmc/Examples/data/output +DEST_DIR=../data/output # consider passing these args to the script nepochs=1000 -inits=/Users/jtobin/projects/flat-mcmc/Examples/data/input/inits-2d.dat +inits=../data/input/inits-2d.dat NOW=$(date +"%Y-%m-%d-%H%M")