Skip to main content

Bayesian Joint Probability (BJP)

Publish BJP Build and Test BJP license status

Table of Contents


Overview

BJP is a high-performance Python package (with Cython/C++ backend) for fitting multivariate normal distributions using Gibbs sampling, with support for left and right censoring. Typically, BJP is used for modelling with transformed variables using the norm-transform package. Therefore, it is designed for statistical modeling and forecasting in scenarios where data may be treated as partially observed (e.g. rainfall).


Features

  • Fast Gibbs sampling for multivariate normal distributions
  • Handles left and right censoring (if required)
  • Generates ensemble predictions with posterior predictive sampling
  • Cython/C++ backend for performance

Interactive Demonstration of BJP

You can explore an interactive demonstration of the normtransform tool here. This link opens a Jupyter Notebook hosted on the MyBinder platform. Once it loads, click Run-->Run All Cells to execute the code and see the demonstration in action.


Installation

A Python virtual environment is a self-contained directory that includes a specific Python version and any additional packages you install. It helps you isolate dependencies for different projects, ensuring that changes in one environment don’t affect others. This makes it easier to manage project-specific requirements and maintain a clean development setup.

Use the package manager pip to install bjpmodel.

python -m venv venv # Create a virtual environment
source venv/bin/activate  # Activate the virtual enviroment, on Windows use `venv\Scripts\activate`
pip install bjpmodel #install bjpmodel

Once installed users can start with mimicking the demonstration found above within their own environment.


Contributing

Requests are welcome. Please contact the authors below.


License

MIT


Contact

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

bjpmodel-0.2.3-cp313-cp313-win_amd64.whl (332.8 kB view details)

Uploaded CPython 3.13Windows x86-64

bjpmodel-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

bjpmodel-0.2.3-cp313-cp313-macosx_26_0_arm64.whl (357.2 kB view details)

Uploaded CPython 3.13macOS 26.0+ ARM64

bjpmodel-0.2.3-cp312-cp312-win_amd64.whl (333.0 kB view details)

Uploaded CPython 3.12Windows x86-64

bjpmodel-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

bjpmodel-0.2.3-cp312-cp312-macosx_26_0_arm64.whl (357.9 kB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

bjpmodel-0.2.3-cp311-cp311-win_amd64.whl (333.0 kB view details)

Uploaded CPython 3.11Windows x86-64

bjpmodel-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

bjpmodel-0.2.3-cp311-cp311-macosx_26_0_arm64.whl (357.3 kB view details)

Uploaded CPython 3.11macOS 26.0+ ARM64

File details

Details for the file bjpmodel-0.2.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: bjpmodel-0.2.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 332.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 47cb5cfad55086ddef4b0ac7d2c00c6c30cf7feb3cd200b5a0b907ad5a7977a2
MD5 37e37a82b5abd20807c0b1ee4a366baf
BLAKE2b-256 27c0e0c796f3a433c23d31b2c1b0ceaca4b772194f475f6e166201b2e0692c98

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4adfcec99c5e29dd739d3e2ee823d277b453994aa64f4d5900d891c4c87fca8
MD5 4d18754698c9895ba66ddf30951aaa39
BLAKE2b-256 b3854a3974d851e89ddf5cb963525ee0dc8352c8032000c675a55e8e0f4460d8

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp313-cp313-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp313-cp313-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 941d9754ff7c003485ba7e5033d7394bab69cf094a0ff7f03af695061bcaa4c0
MD5 e30816737761294c18da12276c41e7c7
BLAKE2b-256 a49e9c9ac1ccf40065028bc6d5ba4f1a09487e9142248d46b2e3ae79fed04413

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: bjpmodel-0.2.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 333.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ee594aec6970a8b17275a48824cd946a93e04038aea6a7b7928f89d6c801744b
MD5 3dcd0b2cfb66f40ea53fd581f442d2db
BLAKE2b-256 b322d2fd9e12c51b72b5b4d0e212a9a7ef6c8a8d5bdfb310cb0c6a688852c851

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9557659c0ab4b39fb548e473f97e96f43d617e350ed6e2b50101786660ee477
MD5 65dc61b8e22ca23698f13526ba19fe32
BLAKE2b-256 421e74c418544e9328286f3f6260e53609b6610cffa1bbe07364f1ac9dafb95a

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 e2609e9177c4cb9ea8147db10a485a52c38fb5ada07bb71a91851c37237e43b5
MD5 c47b77730a04506b2df4e094ccd1b70f
BLAKE2b-256 3ca4170873482cc67697589ce9458564d81d1f3443b57c0a298136d372780c92

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: bjpmodel-0.2.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 333.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 92a8e329e50a78ab4ed5a4be79e74654b8d52d95a0eaef3148744576dd557bba
MD5 a580b7ceff35b0a31773688d8c8d1427
BLAKE2b-256 3751f786ed019cd5bcd404bf91d2421ee9d87a8c952887ab34b5e14cd939da7e

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e55424f71362d314b6e8d2af8c12e281c854cf3e26e7b98f3aea077b5e96dc2
MD5 f48d27b08fc4635585a25366e716b722
BLAKE2b-256 bff458ecba3b13d094fdbca8663fc7e2b5caea8a70e0568d3bf13ecf6d864f34

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.3-cp311-cp311-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.3-cp311-cp311-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 f1765c29c720cd7487dd4ce1991ccbe2f6ace46a33c22b8d6bceac12dbd7d29a
MD5 5931637584b70b15fe2c254ca7f5d743
BLAKE2b-256 ad42e789d41e9a64396b84e2aa6186c5589eecb1b560e25228fd15f7e293d99c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.3 This release

9 files

0.2.2

12 files

0.2.1

12 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page