Skip to main content

No project description provided

Project description

BayesBay

PyPI version Documentation Status

BayesBay is a user-friendly Python package designed for generalised trans-dimensional and hierarchical Bayesian inference. Optimised computationally through Cython, our library offers multi-processing capabilities and runs seamlessly on both standard computers and computer clusters.

Distinguishing itself from existing packages, BayesBay provides high-level functionalities for defining complex parameterizations. These include prior probabilities that can be specified by uniform, Gaussian, or custom density functions and may vary depending on the spatial position in a hypothetical discretization.

By default, BayesBay employs reversible-jump Markov chain Monte Carlo (MCMC) for sampling the posterior probability. It also offers options for parallel tempering or simulated annealing, while its low-level features enable the effortless implementation of arbitrary sampling criteria. Utilising object-oriented programming principles, BayesBay ensures that each component of an inference problem --- such as observed data, forward function(s), and parameterization --- is a self-contained unit. This design facilitates the integration of various forward solvers and data sets, promoting the simultaneous use of multiple data types in the considered inverse problem.

Documentation

For comprehensive guides and examples on using BayesBay, make sure to check out our documentation.

Development tips

  • To set up development environment:

    $ mamba env create -f envs/environment_dev.yml
    

    or

    $ python -m venv bayesbay_dev
    $ source bayesbay_dev/bin/activate
    $ pip install -r envs/requirements_dev.txt
    
  • To install the package:

    $ python -m pip install .
    
  • Look at noxfile.py for building, testing, formatting and linting.

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

bayesbay-0.3.1.tar.gz (209.3 kB view details)

Uploaded Source

File details

Details for the file bayesbay-0.3.1.tar.gz.

File metadata

  • Download URL: bayesbay-0.3.1.tar.gz
  • Upload date:
  • Size: 209.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for bayesbay-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e263b6fda2dc3573d46bbdea85a518fa765933dd6e927ed7f64bb49c22ede616
MD5 cbe1211cd1d9cc569e7c63b85096d4e4
BLAKE2b-256 31eb6ee4858da8dbaf40616aa01dce61d14e166e3d531d7e2e6e58cf784af0ce

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