Uncertainty wizard is a plugin on top of tensorflow.keras,
allowing to easily and efficiently create uncertainty-aware deep neural networks:
- Plain Keras Syntax: Use the layers and APIs you know and love.
- Conversion from keras: Convert existing keras models into uncertainty aware models.
- Smart Randomness: Use the same model for point predictions and sampling based inference.
- Fast ensembles: Train and evaluate deep ensembles lazily loaded and using parallel processing.
- Super easy setup: Pip installable. Only tensorflow as dependency.
Installation
It's as easy as pip install uncertainty-wizard
Requirements
- tensorflow >= 2.3.0
- python 3.6* / 3.7 / 3.8
Note that tensorflow 2.4 has just been released. We will test and create compatibility with uncertainty wizard in the next couple of weeks. Until then, please stick to tensorflow 2.3.x.
*python 3.6 requires to pip install dataclasses
Documentation
Our documentation is deployed to: uncertainty-wizard.readthedocs.io/
Note that we have a 100% docstring coverage on public method and classes. Hence, your IDE will be able to provide you with a good amount of docs out of the box.
Examples
A set of small and easy examples, perfect to get started can be found in the user guide for our models and the user guide for our quantifiers
Larger and examples are also provided - and you can run them in colab right away. You can find them here: List of jupyter examples
Authors and Paper
uncertainty-wizard was developed by Michael Weiss and Paolo Tonella at USI (Lugano, Switzerland).
An early version was first presented in the following paper
(preprint can be found here):
Fail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring (expand for BibTex)
@inproceedings{Weiss2021,
title={Fail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring},
author={Weiss, Michael and Tonella, Paolo},
booktitle={2021 IEEE 14th International Conference on Software Testing,
Validation and Verification (ICST)},
year={2021},
organization={IEEE},
note={forthcoming}
}
We are also currently writing a technical tool paper, describing design choices and challenges. We are happy to share a preprint upon request.
Contributing
Issues and PRs are welcome! Before investing a lot of time for a PR, please open an issue first, describing your contribution. This way, we can make sure that the contribution fits well into this repository.
Metadata
Release files for uncertainty-wizard 0.1.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 | |
|---|---|---|---|
| uncertainty-wizard-0.1.0.tar.gz | 35.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uncertainty_wizard-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.0 kB
Release files / uncertainty-wizard-0.1.0.tar.gz
| Download URL | uncertainty-wizard-0.1.0.tar.gz |
|---|---|
| Size | 35.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a6f3494d5728a993caecb653609235ef0bd0b2c2ad755cd19addd9d333a336a
|
|
BLAKE2b-256 checksum How to use checksums |
94d0513f369a346e1ba0705181ba68d9b2ec46498178134f24e495a49c9ae1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / uncertainty_wizard-0.1.0-py3-none-any.whl
| Download URL | uncertainty_wizard-0.1.0-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f3e6f29465541c3eea8932904519ed60f5367fa8d4cbb5f55b5c57ed83db23b
|
|
BLAKE2b-256 checksum How to use checksums |
a6370478f7ea7900492f15029c6ab1f4fec22e360c5606c58506f631acc80366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|