Python-only set of tools for uncertainty quantification.
Project description
Python Toolkit for Uncertainty Quantification (PyTUQ)
Khachik Sargsyan, Bert Debusschere, Emilie Grace Baillo
Overview
The Python Toolkit for Uncertainty Quantification (PyTUQ) is a Python-only collection of libraries and tools designed for quantifying uncertainty in computational models. PyTUQ offers a range of UQ functionalities, including Bayesian inference and linear regression methods, polynomial chaos expansions, and global sensitivity analysis methods. PyTUQ features advanced techniques for dimensionality reduction, such as SVD and Karhunen-Loeve expansions, along with various MCMC methods for calibration and inference. The toolkit also includes robust classes for multivariate random variables and integration techniques, making it a versatile resource for researchers and practitioners seeking to quantify uncertainty in their numerical predictions. To explore the PyTUQ documentation and learn more, visit our website here.
Dependencies
PyTUQ requires:
- numpy
- scipy
- matplotlib
Optional dependencies include:
- pytorch (NN surrogates)
- QUiNN (Quantification of Uncertainties in Neural Networks)
- pyswarms (Particle Swarm Optimization)
Installation
Basic Installation
Install PyTUQ with core dependencies:
$ pip install pytuq
Optional Features
Install additional features as needed:
- Neural network surrogates
$ pip install pytuq[nn]
- Particle swarm optimization
$ pip install pytuq[optim]
- All optional features
pip install pytuq[all]
- Development tools
pip install pytuq[dev]
Installation from Source
- To install PyTUQ from source, start up a Python virtual environment and clone the repository:
$ source <PYTHON_VENV_DIR>/bin/activate
$ git clone git@github.com:sandialabs/pytuq.git
$ cd pytuq
- (Optional) To take advantage of the neural network surrogate model capabilites in PyTUQ, use the following command to install PyTUQ's optional dependencies:
$ pip install -r requirements.txt
- Install primary PyTUQ dependencies and PyTUQ:
$ pip install .
License
Distributed under BSD 3-Clause License. See LICENSE.txt for more information.
Acknowledgements
This work is supported by the Scientific Discovery through Advanced Computing (SciDAC) Program under the Office of Science at the U.S. Department of Energy.
Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytuq-1.0.0.tar.gz.
File metadata
- Download URL: pytuq-1.0.0.tar.gz
- Upload date:
- Size: 101.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc9fabf7bf183d38e104564e99d1950f7e2103baac5a13960c356173b9997ff
|
|
| MD5 |
e0c39e544d8b2eae81cd79dd1d29cebb
|
|
| BLAKE2b-256 |
687e3584efe33c463478fce32375aa12d954a5d953d3e8b4bbe3dff7f38ef545
|
File details
Details for the file pytuq-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pytuq-1.0.0-py3-none-any.whl
- Upload date:
- Size: 121.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0469ed663d5fd5b08cf86b56c9622df0e6b4b0fedf21345e7ad6ea04da11b87d
|
|
| MD5 |
3060add46d365526b107841156bc6aeb
|
|
| BLAKE2b-256 |
92b567087dee99b16af9c135afb9cc20494376775d232c9a528eab87f2a8119c
|