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.

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 .

Features

  • Surrogate modeling with Polynomial Chaos Expansion
  • Global sensitivity analysis using Sobol Indices
  • Bayesian calibration with MCMC using emcee package
  • Bayesian validation with model weights for multi-model setting

Requirements

  • numpy==1.22.1
  • pandas==1.2.4
  • joblib==1.0.1
  • matplotlib==3.4.2
  • seaborn==0.11.1
  • scikit-learn==0.24.2
  • tqdm==4.61.1
  • chaospy==4.3.3
  • emcee==3.0.2
  • corner==2.2.1
  • h5py==3.2.1
  • statsmodels==0.13.2

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-1.0.0.tar.gz (128.4 kB view details)

Uploaded Source

Built Distribution

bayesvalidrox-1.0.0-py3-none-any.whl (130.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bayesvalidrox-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e4b9e9ec1be8a0ff052b05cc3d8268039cebf6cc5be4b4daf9e39499527c7021
MD5 8c6f5bc2ea096fcf7bf8e4488b64a7a0
BLAKE2b-256 4dce8bd3d4bdb0317048bd137658b880b25bcfbd4e376298e888fb3c48ddba6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bayesvalidrox-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca49114f677679e30cdd3a0979bd3e7d1d8222f8c7e58c3107e213f71b505576
MD5 d32762ea5187e7aab38431b1f6470471
BLAKE2b-256 3b7735c13badf630594038a13a484baa507a1cf7c8bbdfffeb6a90f0a1a3d1df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page