Skip to main content

BITS for GAPS

CI PyPI Docs

Bayesian Information-Theoretic Sampling for hierarchical GAussian Process Surrogates.

A framework for information-theoretic sequential experimental design with Bayesian hierarchical Gaussian-process surrogates. Prior physical knowledge is encoded through priors on the GP hyperparameters; sampling is guided by maximizing the predictive differential entropy, so hyperparameter uncertainty (not just predictive variance) drives data acquisition.

Reference: K. D. Jones and A. W. Dowling, "BITS for GAPS: Bayesian Information-Theoretic Sampling for hierarchical GAussian Process Surrogates," Computers & Chemical Engineering 211 (2026) 109650. https://doi.org/10.1016/j.compchemeng.2026.109650

Status: pre-1.0, under active refactor. This repository is being extracted from the paper's research code into a reusable library. See REFACTOR_PLAN.md for the roadmap and HANDOFF.md for the current state.

Install (development)

conda env create -f environment.yml
conda activate bits_for_gaps
pip install -e ".[dev]"          # core + test tools
# pip install -e ".[dev,vle]"    # add the Julia/Clapeyron VLE example backend

The core library is pure Python (GPflow / TensorFlow / NumPy / SciPy) with no Julia dependency. Julia + Clapeyron are only needed for the vle_distillation example.

macOS note: set export PYTHON_JULIACALL_HANDLE_SIGNALS=yes before importing juliacall, or Julia crashes with a bus error (SIGBUS).

Layout

src/bits_for_gaps/   the library (algorithm)
examples/            worked examples (incl. the paper's VLE/distillation case study)
paper/               scripts + reference metrics to reproduce the published figures
tests/               unit / integration / regression tests
docs/                Sphinx documentation (ReadTheDocs)

Quick test

pytest -q

Docs

pip install -e ".[docs]"
sphinx-build -W docs docs/_build/html

Full docs (installation, a pure-Python quickstart, theory notes, the VLE example, and the API reference): docs/index.md, or built and browsed locally as above. See HANDOFF.md for ReadTheDocs setup status.

Download files

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

Source Distribution

bits_for_gaps-0.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

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

bits_for_gaps-0.1.0-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file bits_for_gaps-0.1.0.tar.gz.

File metadata

  • Download URL: bits_for_gaps-0.1.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bits_for_gaps-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4325fb0977b80c400cdeb8f654ccc91e52e0697e7f7814b73d4942e8ba20d80e
MD5 0574aee4516d2e40de08608eae106476
BLAKE2b-256 4497b2a328379ea5fd57a2d8ec021d20a4e19a204383d6b250f7ae6c0e97f80d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bits_for_gaps-0.1.0.tar.gz:

Publisher: publish.yml on dowlinglab/bits_for_gaps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bits_for_gaps-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bits_for_gaps-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bits_for_gaps-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cfd3a3dfb2453d497f3c9c2621ecaa499632bbeb783e1451065f5752da3d307
MD5 5f4afc0149150f62863729340a2da799
BLAKE2b-256 c64e11799a8308154b64aa030449bd58136cd0bd265d1c89baf03a7230844f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for bits_for_gaps-0.1.0-py3-none-any.whl:

Publisher: publish.yml on dowlinglab/bits_for_gaps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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