dynesty
is a Pure Python, MIT-licensed Dynamic Nested Sampling package for estimating Bayesian posteriors and evidences. See Crash Course
and Getting Started
for more information. The latest development version can be found here.
dynesty
is compatible with both Python 2.7 and Python 3.6. It requires numpy
, scipy
, matplotlib
, and six
; sklearn
is also recommended but not required. Installing the most recent stable version of the package is as easy as:
pip install dynesty
Alternately, for users who might want newer development versions, it can also be installed directly from a local copy of the repository by running:
python setup.py install
- Added in a fast approximation option for jitter_run and simulate_run.
- Modified the default stopping heuristic. It now evaluates significantly faster but is a less accurate probe of the "true" KL divergence.
- Modified 'rwalk' behavior to better deal with edge cases.
- Changed defaults so performance should now be more stable (albiet slower) for the average user.
- Improved the stability of bounding ellipsoids.
- Fixed performance issues with 'rslice' and 'hslice'.
- Small plotting improvements.
- Fixed a minor bootstrapping bug that affected performance for some users.
- Fixed a serious bug associated with the new singular decomposition algorithm and changed its behavior so it no longer auto-kills user runs when it fails.
- dynesty is now on PyPI!
- Added two new slice sampling options ('rslice' and 'hslice').
- Changed internals to allow user to access quantities during dynamic batch allocation. WARNING: Breaks some aspects of backwards compatibility for advanced users utilizing generators.
- Simplified parallelism options.
- Fixed a singular decomposition bug that occasionally appeared during runtime.
- Small plotting/utility improvements.
- Fixed additional Python 2/3 compatibility bugs.
- Added the ability to pass user-specified custom print functions.
- Added importance reweighting.
- Small improvements to plotting utilities.
- Small changes to improve user outputs and basic functionality.
- Fixed map bugs that broke compatibility between Python 2 and 3.
- Fixed a bug where the sampler could break during the first update from the unit cube when using a pool.
- Introduced a function wrapper for prior_transform and loglikelihood functions to allow users to pass args and kwargs.
- Fixed a small bug that could cause bounding ellipsoids to fail.
- Introduced a stability fix to the default ~dynesty.dynamicsampler.weight_function when computing evidence-based weights.
Initial beta release.
crashcourse overview quickstart dynamic errors examples faq references api