A port of John Skilling's nested sampling C code to Haskell.

Latest on Hackage:0.1.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

GPL-2 licensed by Issac Trotts
The code here is a fairly straightforward translation of the tutorial
nested sampling code from Skilling and Sivia. The translation was
done by Issac Trotts starting in June 2011.

What follows is an adaptation of the original README:

This directory holds little toy nested-sampling programs
in Haskell, adapted from the C code in the update of Devinder's book "Data
Analysis: a Bayesian Tutorial" (2nd edition) OUP 2006.

To get started, install Haskell (GHC), then run
$ cabal install

Try out the example program like this:

$ lighthouse
logZ: -160.48 +- 0.17
information: 2.90 nats
1000 samples

x = 1.25 +- 0.18
y = 1.00 +- 0.20

Details can be found at the top of lighthouse.hs.

Depends on 3 packages:
Used by 1 package:
comments powered byDisqus