Rigorous computation with Uncertain Number in Python
Project description
PyUncertainNumber
Uncertain Number refers to a class of mathematical objects useful for risk analysis that generalize real numbers, intervals, probability distributions, interval bounds on probability distributions (i.e. probability boxes), and finite DempsterShafer structures. Refer to the informative documentation for additional details.
quick start
PyUncertainNumber can be used to easily create an UncertainNumber object, which may embody a mathematical construct such as PBox, Interval, Distribution, or DempsterShafer structure.
from pyuncertainnumber import UncertainNumber as UN
e = UN(
name='elas_modulus',
symbol='E',
units='Pa',
essence='pbox',
distribution_parameters=['gaussian', ([0,12],[1,4])])
installation
Requirement: It requires Python >=3.11
PyUncertainNumber can be installed from PyPI. Upon activation of your virtual environment, use the code below in your terminal. For additional instructions, refer to installation guide.
pip install pyuncertainnumber
features
PyUncertainNumberis a Python package for generic computational tasks focussing on rigourou uncertainty analysis, which provides a research-grade computing environment for uncertainty characterisation, propagation, validation and uncertainty extrapolation.PyUncertainNumbersupports probability bounds analysis to rigorously bound the prediction for the quantity of interest with mixed uncertainty propagation.PyUncertainNumberalso features great natural language support as such characterisatin of input uncertainty can be intuitively done by using natural language likeabout 7or simple expression like[15 +- 10%], without worrying about the elicitation.- features the save and loading of UN objects
- yields much informative results such as the combination that leads to the maximum in vertex method.
UQ multiverse
UQ is a big world (like Marvel multiverse) consisting of abundant theories and software implementations on multiple platforms. We focus mainly on the imprecise probability frameworks. Some notable examples include OpenCossan UQlab in Matlab and ProbabilityBoundsAnalysis.jl in Julia, and many others of course. PyUncertainNumber builds upon on a few pioneering projects and will continue to be dedicated to support imprecise analysis in engineering using Python.
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 pyuncertainnumber-0.0.13.tar.gz.
File metadata
- Download URL: pyuncertainnumber-0.0.13.tar.gz
- Upload date:
- Size: 131.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6def2a1da75aa79df869ddf927cb75292a4e59e31eeb2d9b7506002c97dca38b
|
|
| MD5 |
2013977e45202d14c484e244f25ad952
|
|
| BLAKE2b-256 |
0cf47c5801939db8bfc759030b4fa841eeaf680c760722e193f75d5909ef7f86
|
Provenance
The following attestation bundles were made for pyuncertainnumber-0.0.13.tar.gz:
Publisher:
python-publish.yml on leslieDLcy/PyUncertainNumber
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyuncertainnumber-0.0.13.tar.gz -
Subject digest:
6def2a1da75aa79df869ddf927cb75292a4e59e31eeb2d9b7506002c97dca38b - Sigstore transparency entry: 254635744
- Sigstore integration time:
-
Permalink:
leslieDLcy/PyUncertainNumber@90906eb9b73e3f8bf68fe138dce9365b666bc8a1 -
Branch / Tag:
refs/tags/v0.0.13 - Owner: https://github.com/leslieDLcy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@90906eb9b73e3f8bf68fe138dce9365b666bc8a1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyuncertainnumber-0.0.13-py3-none-any.whl.
File metadata
- Download URL: pyuncertainnumber-0.0.13-py3-none-any.whl
- Upload date:
- Size: 164.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aff85a0b683aa7bb75e4d53a3bb64ec8d405b7312338af414130cfba40f2a7f
|
|
| MD5 |
342613036cc0e4b58a196b7d0cdbeb0c
|
|
| BLAKE2b-256 |
05bcb68befa98af63c75a2bed89baaeede8bd040de465960f14f4aa8306dbc60
|
Provenance
The following attestation bundles were made for pyuncertainnumber-0.0.13-py3-none-any.whl:
Publisher:
python-publish.yml on leslieDLcy/PyUncertainNumber
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyuncertainnumber-0.0.13-py3-none-any.whl -
Subject digest:
3aff85a0b683aa7bb75e4d53a3bb64ec8d405b7312338af414130cfba40f2a7f - Sigstore transparency entry: 254635746
- Sigstore integration time:
-
Permalink:
leslieDLcy/PyUncertainNumber@90906eb9b73e3f8bf68fe138dce9365b666bc8a1 -
Branch / Tag:
refs/tags/v0.0.13 - Owner: https://github.com/leslieDLcy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@90906eb9b73e3f8bf68fe138dce9365b666bc8a1 -
Trigger Event:
release
-
Statement type: