Skip to main content

A package for Bayesian model combination

Project description

pyBMC: A General Bayesian Model Combination Package

Coverage Status

pyBMC is a Python package for performing Bayesian Model Combination (BMC) on various predictive models. It provides tools for data handling, orthogonalization, Gibbs sampling, and prediction with uncertainty quantification. The model combination methodology follows this paper by Giuliani et al.

Features

  • Data Management: Load and preprocess nuclear mass data from HDF5 and CSV files
  • Orthogonalization: Transform model predictions using Singular Value Decomposition (SVD)
  • Bayesian Inference: Perform Gibbs sampling for model combination
  • Uncertainty Quantification: Generate predictions with credible intervals
  • Model Evaluation: Calculate coverage statistics for model validation

Installation

pip install pybmc

Quick Start

For a detailed walkthrough of how to use the package, please see the Usage Guide.

Documentation

Comprehensive documentation is available at https://ascsn.github.io/pybmc/, including:

Contributing

We welcome contributions! Please see our Contribution Guidelines for details on how to contribute to the project.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Citation

If you use pyBMC in your research, please cite:

@software{pybmc,
  title = {pyBMC: Bayesian Model Combination},
  author = {Kyle Godbey and Troy Dasher and Pablo Giuliani and An Le},
  year = {2025},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/ascsn/pybmc}}
}

Support

For questions or support, please open an issue on our GitHub repository.

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

pybmc-0.2.2.tar.gz (10.5 MB view details)

Uploaded Source

Built Distribution

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

pybmc-0.2.2-py3-none-any.whl (10.5 MB view details)

Uploaded Python 3

File details

Details for the file pybmc-0.2.2.tar.gz.

File metadata

  • Download URL: pybmc-0.2.2.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for pybmc-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8982d3bd31cb8ba7df998e0fe4c5fb848f83a154472836e4d9857698547a0832
MD5 e5841133c4215da4f8546acbb477c05d
BLAKE2b-256 8b0d62ae4e86c1a99351d53b02b2e1fe0fe5b364c13db2a800d8042be502fae9

See more details on using hashes here.

File details

Details for the file pybmc-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pybmc-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for pybmc-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4172fb28f4f63e2e446f4715f5eb23ea99d6586c929f8f9befdb38fbf0e641
MD5 b4e4a1e02f980957992fe8e43650b862
BLAKE2b-256 aa46fadb7148501a45d85a517cbacafa5d1a82752e94ad6ab7ad4b2ffce02e10

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