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

Release history Release notifications

Download files

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

Files for TIStan, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size TIStan-0.1.3-py3-none-any.whl (25.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size TIStan-0.1.3.tar.gz (25.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page