Skip to main content

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])])
drapbox dynamic visualisationwing

installation

pip install -e .

features

  • PyUncertainNumber is 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.
  • PyUncertainNumber supports probability bounds analysis to rigorously bound the prediction for the quantity of interest with mixed uncertainty propagation.
  • PyUncertainNumber also features great natural language support as such characterisatin of input uncertainty can be intuitively done by using natural language like about 7 or 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. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyuncertainnumber-0.0.3.tar.gz (122.5 kB view details)

Uploaded Source

Built Distribution

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

pyuncertainnumber-0.0.3-py3-none-any.whl (147.6 kB view details)

Uploaded Python 3

File details

Details for the file pyuncertainnumber-0.0.3.tar.gz.

File metadata

  • Download URL: pyuncertainnumber-0.0.3.tar.gz
  • Upload date:
  • Size: 122.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for pyuncertainnumber-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1ae2b9b6c0c3161d1898701d492b8edecab7df31cb2e75df8355ce8fae1bbe50
MD5 b85c146a2fb4cb0cada990062862a50e
BLAKE2b-256 bb393e3e6c99a47ffd5c10c6e7738138b5ccf302368bca93e900fd14f3b264eb

See more details on using hashes here.

File details

Details for the file pyuncertainnumber-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyuncertainnumber-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 11cd5f6cf981860956dd0c6e142a1521e6101f589e57b5567be4541a92e64bf5
MD5 12d54b9f8796729539878a850240fa79
BLAKE2b-256 ccd7447577527de3293eafee3fd37d5f879603f8d672c1c8ac2369d10bcb5488

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