Neural network accelerated nested and MCMC sampling. The target distribution is first transformed into a diagonal, unit variance Gaussian by a series of non-linear, invertible, and non-volume preserving flows. Efficient MCMC proposals can then be made in this simpler latent space.
NNest can be installed via pip
pip install nnest
Alternatively the latest version can be obtained by
git clone https://github.com/adammoss/nnest
cd nnest
python setup.py install
Nested sampling examples can be found in the examples/nested
directory, and can be run with e.g.
python examples/nested/rosenbrock.py
MCMC sampling examples can be found in the examples/mcmc
directory, and can be run with e.g.
python examples/mcmc/rosenbrock.py
Runs can be analysed by
python analyse.py
Please cite Moss (2019) if you find the package useful in your research.