Skip to main content

BJP (Bayesian Joint Probability)

Project description

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

Project details


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.2-cp313-cp313-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.13Windows x86-64

bjpmodel-0.2.2-cp313-cp313-win32.whl (304.7 kB view details)

Uploaded CPython 3.13Windows x86

bjpmodel-0.2.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

bjpmodel-0.2.2-cp313-cp313-macosx_14_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

bjpmodel-0.2.2-cp312-cp312-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.12Windows x86-64

bjpmodel-0.2.2-cp312-cp312-win32.whl (304.8 kB view details)

Uploaded CPython 3.12Windows x86

bjpmodel-0.2.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

bjpmodel-0.2.2-cp312-cp312-macosx_14_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

bjpmodel-0.2.2-cp311-cp311-win_amd64.whl (329.2 kB view details)

Uploaded CPython 3.11Windows x86-64

bjpmodel-0.2.2-cp311-cp311-win32.whl (304.9 kB view details)

Uploaded CPython 3.11Windows x86

bjpmodel-0.2.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

bjpmodel-0.2.2-cp311-cp311-macosx_14_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for bjpmodel-0.2.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6c8f7591555db508ec354cff2cc09b94cbead82dafa1330c620e5a09a2bf85e8
MD5 cbda48d5360526d4597d0335d2a937c8
BLAKE2b-256 187bb3919350d3b00344215e33ac580c8cf474efc139cb8c465e2311f66ed8b2

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp313-cp313-win32.whl.

File metadata

  • Download URL: bjpmodel-0.2.2-cp313-cp313-win32.whl
  • Upload date:
  • Size: 304.7 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 28eeae998303fcaa29cd735cacf8ab5c9c1537dca32f946f7bcfd0d541f5e8ac
MD5 2ba05fb30b0e0a318ea98cfe710a241a
BLAKE2b-256 c1dc3024c58ffd601efab6c10ca0fe4a6062cbfd1fd0d9d41d7410eb5b233fb5

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c5eabd2d9c16ac93e13a9a8a5022c8e12f050f12046e5a3625e73960e440d66
MD5 550ee3761517966317ad5c40c8d72692
BLAKE2b-256 f9f5f8b12ad4f6e09ba427af2858a25370e919a8ab56fceb867e3c90ff878dc9

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d39790a76e94a255d0f1130e9f295ad33ac9ea0ec657e2283e071af94c7c50c8
MD5 d01fa6ba139dad49f8e50fff34dca4d1
BLAKE2b-256 92270e8669e42ec1a10a51867a25834a4f86a50796bed88d74c7654a3ad08b9e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bjpmodel-0.2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 806a4de6c1bfed5a5ed87ad9974db36802185754e6d6ef35c64320d9f8a54f06
MD5 263be7b34439dbc9dbf7728b55ceb919
BLAKE2b-256 36e3e66b878f5425be6101744ee00ed80df1a190699db5f214c8183d6ee7bc84

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: bjpmodel-0.2.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 304.8 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 9985aa19d1d7604c27be9813f0c46e7a51e817e133804e77c9268538724a9483
MD5 9e1b02117c1160595d6feead527d30cb
BLAKE2b-256 1993c6e4ec99d3a82859876f4edc59f69a2fa2a15374777f567dfb99c66c4f2a

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f19f6df33b82140b40d9ef472eb917ffa57dba32585b10c6bff56e0288b0899c
MD5 028260b74d02c72774324302f1158b25
BLAKE2b-256 595e66a89ac369320b827f5df89906cc0e1e6d26ed31a32f6d533504f97aeb51

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f36d861b5f4376fa28232e4669bed3f84efcea424e531dcdebbf3d583375a41e
MD5 5f5b86ad410665fdbe28e05ad7d492d2
BLAKE2b-256 90be02a6d4839450bc3fc5c48091a45305cea35b2c67f94e9af1b22377b3ee97

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bjpmodel-0.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2702b70cef437f720c02419268737bd42343a04f72986326f0b3f6579ecc4b71
MD5 89dc2a56a7a5092038e66152ca46d119
BLAKE2b-256 4a8e83634636d72eda741d5a187f0ce74eeb2b90a7b944430e915b63a6c2afe5

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: bjpmodel-0.2.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 304.9 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bjpmodel-0.2.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 120b601fdb32912a89cabce5e162bf9552f64a28b05043cecd7fbb69f2632b97
MD5 264d958f950f56f6b0239db77d1901e0
BLAKE2b-256 8bde95a676557b614ab7e098715c608f2138adbe73f2266bb9e2990525cf1f41

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44f96c8d7a7ec758b05f2a80f3228099321f233e045e421aad2c77ad48a972df
MD5 6093965b0ce9d65496181680d5bbdc91
BLAKE2b-256 52dd78f81fb09128637242ae8999c2b09d3799394aa0c30295c2d3052ee47dce

See more details on using hashes here.

File details

Details for the file bjpmodel-0.2.2-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bjpmodel-0.2.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 022f7a34b592aca82e6cbf669db8c7023cafb3301d17819d588a1cb335342600
MD5 8aa6a25fc04b99fc7594f1ef09af47b5
BLAKE2b-256 203cc5e59d609168d36a59fdc424e89c0b4a6dc58dac416c2ee11c056fcdaddc

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