Has anyone used Passage, the PArallel SAmpler GEnerator?
Potentially it could be very useful to me, but the only documentation I found is the three line README on Github (https://github.com/cscherrer/passage), and the terse API on Hackage.
A simple example of how to run it would be great!
At a high level, Passage has two important monads to keep in mind:
BayesianNetworkandBayesianSimulator.First, you build a model in the BayesianNetwork monad:
This is specified as a generative model, so anything that is not random (here the number of data points
n) must be passed as a parameter. Alternatively, we could have put a distribution onn.Next, we build a simulator that calls the model:
Finally, take some data:
and run the simluator:
This creates a new directory
myExamplewith OpenMP code for the sampler.