BayesValidRox
An open-source, object-oriented Python package for surrogate-assisted Bayesain Validation of computational models. This framework provides an automated workflow for surrogate-based sensitivity analysis, Bayesian calibration, and validation of computational models with a modular structure.
Features
- Surrogate modeling with Polynomial Chaos Expansion, Gaussian Process Emulator, mixed surrogate types
- Global sensitivity analysis using Sobol Indices
- Bayesian calibration and validation with Rejection sampling or MCMC using
emceepackage - Bayesian model comparison with model weights or confusion matrix for multi-model setting
Resources
The following resources are useful to get started on working with BayesValidRox:
Important links:
Authors
Best to contact: @RKohlhaas, @mariafer.morales
Full list of authors:
Installation
The best practive is to create a virtual environment and install the package inside it.
To create and activate the virtual environment run the following command in the terminal:
python3 -m venv bayes_env
cd bayes_env
source bin/activate
You can replace bayes_env with your preferred name. For more information on virtual environments see this link.
Now, you can install the latest release of the package on PyPI inside the venv with:
pip install bayesvalidrox
and installing the version on the master branch can be done by cloning this repo and installing:
git clone https://git.iws.uni-stuttgart.de/inversemodeling/bayesvalidrox.git
cd bayesvalidrox
pip install .
Requirements
Core packages (same for all Python >=3.9)
- numpy>=1.26.4
- pandas>=2.2.3
- joblib>=1.5.3
- seaborn>=0.13.2
- tqdm>=4.64.0
- chaospy==4.3.21
- h5py>=3.9.0
- statsmodels>=0.14.2
- multiprocess>=0.70.16
- corner==2.2.3
Python 3.9
- matplotlib>=3.7,<3.10
- scipy>=1.9,<1.11
- emcee>=3.0.2,<3.1.6
- scikit-learn>=1.0,<1.2
- datasets>=2.20.0,<4.0.0
Python >= 3.10
- matplotlib>=3.10.0
- scipy>=1.15.2
- emcee>=3.1.6
- scikit-learn>=1.7.2,<1.8.0
- datasets>=4.6.1
TexLive for Plotting with matplotlib
Here you need super user rights
sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super
Metadata
Release files for bayesvalidrox 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bayesvalidrox-2.2.0.tar.gz | 174.4 kB | Without provenance | Details for bayesvalidrox-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bayesvalidrox-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for bayesvalidrox-2.2.0-py3-none-any.whl |
Total release size: 329.4 kB
Release files / bayesvalidrox-2.2.0.tar.gz
| Download URL | bayesvalidrox-2.2.0.tar.gz |
|---|---|
| Size | 174.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85b5c0720c938a2b46e035c8d62c34e603f687e6a54a3bb6f132b687d22ff0fa
|
|
BLAKE2b-256 checksum How to use checksums |
47f8d78edf450fbe97fe30b0d73e009a40449058214de7ee673a00e39bf58962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / bayesvalidrox-2.2.0-py3-none-any.whl
| Download URL | bayesvalidrox-2.2.0-py3-none-any.whl |
|---|---|
| Size | 155.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1d0adce9a68d77c6c130a397508736e059066ae74b37b9560a7db9adb99570b
|
|
BLAKE2b-256 checksum How to use checksums |
502153494ada3966b0141ed23d614e1862ad43221ec056110af0c31e8a426293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Security for bayesvalidrox 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.