tar xvf gibbsdemo.tar This unpacks a load of files into a directory
called gibbsdemo. [If there are any complaints about the clock time use
tar xvfm gibbsdemo.tar]
cd gibbsdemo
xrdb -load Xdefaults.gnu
octave
(Works fine with octave-2.0 but not with octave-2.1.33, which seems to
have plotting bugs.)
load 'DEMO'
Select from a range of demonstrations. Options [1] single-gaussian inference; gibbs sampling,
[2] single-gaussian inference; priors on,
[3] single-gaussian inference; silly data N=13, and
[4] two-gaussian mixture model
all work OK.
|
|
[ -0.01 -0.27 0.1 0.31 0.706 1.07 1.37 1.16 1.2 1.25 1.3 1.33 1.65 ]