flat-mcmc

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

commit 1e27f267315a575cd636e4b7c9ec0d78e59d4b62
parent 4348d9d0addb2b1f2941deca6d411e5584736075
Author: Jared Tobin <jared@jtobin.ca>
Date:   Fri, 30 Nov 2012 23:40:13 +1300

Add run-example scripts.

Diffstat:
M.gitignore | 5++++-
AExamples/demos/himmelblau.sh | 15+++++++++++++++
AExamples/demos/rosenbrock.sh | 14++++++++++++++
3 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -5,7 +5,6 @@ dist Setup.hs *.hi *.o -demos data _cache/ _site/ @@ -13,3 +12,7 @@ build cabal-dev site benchmarks +demos/BNN_Flat +demos/Rosenbrock_Flat +demos/Himmelblau_Flat +demos/SPDE_Flat diff --git a/Examples/demos/himmelblau.sh b/Examples/demos/himmelblau.sh @@ -0,0 +1,15 @@ +#!/bin/bash +DEST_DIR=/Users/jtobin/projects/flat-mcmc/Examples/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 + +NOW=$(date +"%Y-%m-%d-%H%M") + +./Himmelblau_Flat $nepochs $burnIn $inits \ + +RTS -N -qg -s \ + > $DEST_DIR/himmelblau_"$nepochs"_"$NOW".dat \ + 2> $DEST_DIR/himmelblau_"$nepochs"_"$NOW".rts + diff --git a/Examples/demos/rosenbrock.sh b/Examples/demos/rosenbrock.sh @@ -0,0 +1,14 @@ +#!/bin/bash +DEST_DIR=/Users/jtobin/projects/flat-mcmc/Examples/data/output + +# consider passing these args to the script +nepochs=1000 +inits=/Users/jtobin/projects/flat-mcmc/Examples/data/input/inits-2d.dat + +NOW=$(date +"%Y-%m-%d-%H%M") + +./Rosenbrock_Flat $nepochs $inits \ + +RTS -N -qg -s \ + > $DEST_DIR/rosenbrock_"$nepochs"_"$NOW".dat \ + 2> $DEST_DIR/rosenbrock_"$nepochs"_"$NOW".rts +