https://github.com/colmtalbot/dnest4

Diffusive Nested Sampling

https://github.com/colmtalbot/dnest4

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Diffusive Nested Sampling

Basic Info
  • Host: GitHub
  • Owner: ColmTalbot
  • License: mit
  • Default Branch: master
  • Homepage:
  • Size: 7.07 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of eggplantbren/DNest4
Created 10 months ago · Last pushed 10 months ago

https://github.com/ColmTalbot/DNest4/blob/master/

DNest4
======

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/eggplantbren/DNest4/blob/master/LICENSE)

DNest4 is a C++11 implementation of Diffusive Nested Sampling, a Markov Chain
Monte Carlo (MCMC) algorithm for Bayesian Inference and Statistical Mechanics.
You can use it in a few different ways:

* Implement your model in C++, compile it and have it run super fast.
* Implement trans-dimensional models with the *RJObject* template class.
* Implement your model by writing just two functions in Python, R, or Julia (this is new and undocumented - email me or take a look in the Templates directory)
* Implement your model as a Python class.
* Write up your model in Python, using a BUGS-style approach
[see here to learn how](https://plausibilitytheory.wordpress.com/2016/08/11/a-jags-like-interface-to-dnest4/)
(more documentation [here](https://odysee.com/@BrendonBrewer:3/dfs:5)).

Papers
======

There is a [paper](https://www.jstatsoft.org/article/view/v086i07)
describing DNest4 installation and usage in the Journal of
Statistical software. You might also want to read the original
[paper](http://arxiv.org/abs/0912.2380) describing the
Diffusive Nested Sampling algorithm itself.
If you find this software useful in your
research, please cite one or both of these papers. Here are the citations:

Brewer, B., & Foreman-Mackey, D. (2018).
DNest4: Diffusive Nested Sampling in C++ and Python.
Journal of Statistical Software, 86(7), 1 - 33. doi:http://dx.doi.org/10.18637/jss.v086.i07 Brewer, B. J., Prtay, L. B., & Csnyi, G. (2011). Diffusive nested sampling.
Statistics and Computing, 21(4), 649-656. Dependencies ============ You will need a C++ compiler that supports the C++11 standard, along with Python 3 and the Python packages NumPy, scipy, matplotlib, and Cython. Compiling ========= ## Note for Mac users: On some Macs, `g++` is an alias for `clang`, which is a C compiler. If this is the case for you, you'll need to edit the first line of the Makefile so that it uses `clang++`, which is a C++ compiler. You can compile the DNest4 library (`libdnest4`) using the Makefile in the `code` directory using: ```bash cd code make ``` Along with building the library this will compile all the examples. Then, install the Python package: ```bash python setup.py install ``` in the root directory of this repository. Alternative build process with SCons ==================================== However, you can also compile *and* install the library using [SCons](http://scons.org/). To do this you just need to run: ```bash scons install ``` By default it will attempt to install the library in `/usr/local` (with the library files in `/usr/local/lib` and the headers in `/usr/local/include/dnest4`), so the above command must be run as a user with root access or using `sudo`. To install to a different location you can instead run: ```bash scons install --prefix ``` where `` is the base path for the install. To install with [GDB](https://www.gnu.org/software/gdb/) enabled during the library's compilation you can add the `--debug-mode` flag to the install command. Currently, the Scons installation does not compile the examples or the Python library. Any additions to this installation process are welcome. (c) 2015--2018 Brendon J. Brewer and contributors. LICENCE: MIT. See the LICENSE file for details. *This work was supported by a Marsden Fast Start grant from the Royal Society of New Zealand.*

Owner

  • Name: Colm Talbot
  • Login: ColmTalbot
  • Kind: user

GitHub Events

Total
  • Push event: 1
  • Create event: 1
Last Year
  • Push event: 1
  • Create event: 1