Skip to main content

Adaptively annealed thermodynamic integration with Stan

Project description


TIStan is a Python 3 package that implements adaptively-annealed thermodynamic integration for model evidence estimation. This package makes use of PyStan's implementation of the No U-Turn Sampler for refreshing the sample population at each inverse temperature increment. A paper will soon be published with a detailed description of this package, and it will be linked here at that time.


This package may be installed using pip:

pip install TIStan

TIStan depends on pystan, numpy, and dill. These packages should be installed by pip automatically if they are not present in your Python installation.


After installation, a dummy test can be run to make sure everything was installed correctly. This test will not produce valid evidence values. From a Python 3 console run,

from TIStan.tests import tests
out = tests.dummy_test()

To run a more thorough test that should produce valid evidence values for the example problem run,

from TIStan.tests import tests
out = tests.full_test()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TIStan-0.1.3.tar.gz (25.0 kB view hashes)

Uploaded source

Built Distribution

TIStan-0.1.3-py3-none-any.whl (25.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page