Skip to main content

An open-source, object-oriented Python package for surrogate-assisted Bayesain Validation of computational models.

Project description

BayesValidRox

bayesvalidrox logo

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.

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

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 emcee package
  • 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

python 3.10:

  • numpy>=1.23.5
  • pandas==1.4.4
  • joblib==1.1.1
  • matplotlib==3.7.3
  • seaborn==0.11.1
  • scipy>=1.11.1
  • scikit-learn==1.3.1
  • tqdm>=4.61.1
  • chaospy==4.3.3
  • emcee==3.0.2
  • corner==2.2.1
  • h5py==3.9.0
  • statsmodels==0.14.2
  • multiprocess==0.70.16
  • datasets==2.20.0
  • umbridge==1.2.4

TexLive for Plotting with matplotlib

Here you need super user rights

sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super

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

bayesvalidrox-2.1.0.tar.gz (151.1 kB view details)

Uploaded Source

Built Distribution

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

bayesvalidrox-2.1.0-py3-none-any.whl (141.7 kB view details)

Uploaded Python 3

File details

Details for the file bayesvalidrox-2.1.0.tar.gz.

File metadata

  • Download URL: bayesvalidrox-2.1.0.tar.gz
  • Upload date:
  • Size: 151.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for bayesvalidrox-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a72b4cee2f6a6dcf99473e9026c4abfa4e8591aa6cb51c53a8067d6c05585be0
MD5 26bf0a6370815539ff8a8f2df9c8da6a
BLAKE2b-256 4ad7a209bab6a12c7666dc7b8b1a9087ea968ebfb45add8c95a4daa045dc1d85

See more details on using hashes here.

File details

Details for the file bayesvalidrox-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: bayesvalidrox-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 141.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for bayesvalidrox-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15a0fb8e518994c870e787e310ca5c1ad922fda0789f240d78e9394d495ee1cb
MD5 2a04a18c6806c374d68dcb837e8a1529
BLAKE2b-256 e8fd09baeb95d05523ad7d8619fde860f7d1a46ce771001c6e0a2d073ca7ebcf

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