Skip to main content

A python package for Bayesian model mixing

Project description

Taweret

codecov DOI

Welcome to the GitHub repo for Taweret, the state of the art Python package for applying Bayesian Model Mixing!

About

Taweret is a new generalized package to help with applying Bayesian model mixing methods, developed by members of the BAND collaboration, to a wide variety of problems in physics.

Features

At present, this package possesses the following BMM methods:

  • Linear model mixing ( With simultaneous model mixing and calibration)
  • Multivariate BMM
  • Bayesian Trees

Documentation

See Taweret's docs webpage here.

Cloning

This repository uses submodules. To clone this repository and automatically checkout all the submodules, use

git clone --recursive https://github.com/bandframework/Taweret.git 

If you want to limit the size of the repository (this or the submodules), you can use the depth flag

git clone --depth=1 https://github.com/bandframework/Taweret.git

Inside the directory containing the cloned repository, you then run

git submodule update --init --depth=1

Running on Codespaces

GitHub's Codespaces is a great place to test using Taweret. Right now, you can try out Taweret's Bivariate Linear BMM and Multivariate BMM methods there, by following the instructions below.

  1. Click the dropdown arrow on the green 'code' button found at the top of this page.
  2. Click on the tab there that says 'codespaces'.
  3. Click the button for 'create Codespace on main'.
  4. Wait for the terminal to be finish spinning up a virtual environment and loading all needed variables (this can take a few minutes).
  5. Once that is done, navigate on the file tree to a notebook you wish to run. To run a file, you need to set a kernel for the Jupyter notebook, so click on 'choose a kernel' in the upper right hand corner of the notebook. If you haven't gotten this message already, a message will pop up that says 'install preferred Python extension?', and you should click 'yes'.
  6. When you click 'choose a kernel' it will offer a preferred Python version or a base version (usually a newer Python version). Choose whichever you prefer, and then you can run the notebook!

Citing Taweret

If you have benefited from Taweret, please cite our software using the following format:

@inproceedings{Taweret,
    author = "Liyanage, Dan and Semposki, Alexandra and Yannotty, John and Ingles, Kevin",
    title  = "{{Taweret: A Python Package for Bayesian Model Mixing}}",
    year   = "2023",
    url    = {https://github.com/bandframework/Taweret}
}

and our explanatory paper:

@article{Ingles:2023nha,
    author = "Ingles, Kevin and Liyanage, Dananjaya and Semposki, Alexandra C. and Yannotty, John C.",
    title = "{Taweret: a Python package for Bayesian model mixing}",
    eprint = "2310.20549",
    archivePrefix = "arXiv",
    primaryClass = "nucl-th",
    doi = "10.21105/joss.06175",
    journal = "J. Open Source Softw.",
    volume = "9",
    number = "97",
    pages = "6175",
    year = "2024"
}

Please also cite the BAND collaboration software suite using the format here.

BAND SDK compliance

Check out our SDK form here.

Contact

To contact the Taweret team, please submit an issue through the Issues page.

Authors: Kevin Ingles, Dan Liyanage, Alexandra Semposki, and John Yannotty.

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

taweret-1.2.0.tar.gz (74.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taweret-1.2.0-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file taweret-1.2.0.tar.gz.

File metadata

  • Download URL: taweret-1.2.0.tar.gz
  • Upload date:
  • Size: 74.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for taweret-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8f9eac41874007b2fe6a0179b7ad1b36ec34402dcb08272c30610be11d631350
MD5 6bd5aea24a0208cadd4b1c3f3afbef1c
BLAKE2b-256 f1e7d06d0ddaa8235771309886c52aba140313d9134943bec800895b5d0fff5f

See more details on using hashes here.

File details

Details for the file taweret-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: taweret-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for taweret-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2bcde6c5a40d2a93a4269fa8ada9f7a6fc77f6bce615d7d3e430044aa6b488
MD5 da664520c8f7ea8af3e47842532d5b68
BLAKE2b-256 7e894e3fc705c12a074ba4224079927bac8159f03efa1040d32098dbaa825bf7

See more details on using hashes here.

Supported by

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