Skip to main content

Adaptively annealed thermodynamic integration with Stan

Project description

TIStan

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.

Installation

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.

Tests

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file TIStan-0.1.3.tar.gz.

File metadata

  • Download URL: TIStan-0.1.3.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for TIStan-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cb53dea269e4eb92caf5f7c49e969884e99376679e11adb3e3ac8e2da37b108b
MD5 db96eabb93e375fd57a79368430ff21f
BLAKE2b-256 c0007c20b8babca6795cffc4f27587f4dd0f1ac049a0a97fa47db6391ce6d812

See more details on using hashes here.

File details

Details for the file TIStan-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: TIStan-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for TIStan-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b7c0b03974465d5628f6e6a3dca3f4a39fcf1ad20588aed7e1b78371cf1d59
MD5 e77e29df8f1cc6aecc7f55e103a6ff42
BLAKE2b-256 5b33a10848129c3402d1cab2d91dc2463ed7eee376314e7bc7649b14186728a1

See more details on using hashes here.

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