Skip to main content

Probabilistic Numerics in Python.

Project description

probabilistic numerics

Learn to Approximate. Approximate to Learn.

Probabilistic Numerics in Python.



ProbNum is a Python toolkit for solving numerical problems in linear algebra, optimization, quadrature and differential equations. ProbNum solvers not only estimate the solution of the numerical problem, but also its uncertainty (numerical error) which arises from finite computational resources, discretization and stochastic input. This numerical uncertainty can be used in downstream decisions.

Currently, available solvers are:

  • Linear solvers: Solve $A x = b$ for $x$.
  • ODE solvers: Solve $\dot{y}(t) = f(y(t), t)$ for $y$.
  • Integral solvers (quadrature): Solve $F = \int_D f(x) \mathrm{d}p(x)$ for $F$.

Lower level structure includes:

  • Random variables and random processes, as well as arithmetic operations thereof.
  • Memory-efficient and lazy implementation of linear operators.
  • Filtering and smoothing for (probabilistic) state-space models, mostly variants of Kalman filters.

ProbNum is underpinned by the research field probabilistic numerics (PN), which lies at the intersection of machine learning and numerics. PN aims to quantify uncertainty arising from intractable or incomplete numerical computation and from stochastic input using the tools of probability theory. The general vision of probabilistic numerics is to provide well-calibrated probability measures over the output of a numerical routine, which then can be propagated along the chain of computation.

Installation

To get started install ProbNum using pip.

pip install probnum

Alternatively, you can install the latest version from source.

pip install git+https://github.com/probabilistic-numerics/probnum.git

Note: This package is currently work in progress, therefore interfaces are subject to change.

Documentation and Examples

For tips on getting started and how to use this package please refer to the documentation. It contains a quickstart guide and Jupyter notebooks illustrating the basic usage of the ProbNum solvers.

Package Development

This repository is currently under development and benefits from contribution to the code, examples or documentation. Please refer to the contribution guidelines before making a pull request.

A list of core contributors to ProbNum can be found here.

Citing ProbNum

If you are using ProbNum in your research, please cite as provided. The "Cite this repository" button on the sidebar generates a BibTeX entry or an APA entry.

License and Contact

This work is released under the MIT License.

Please submit an issue on GitHub to report bugs or request changes.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

probnum-0.1.25-py3-none-any.whl (319.9 kB view details)

Uploaded Python 3

File details

Details for the file probnum-0.1.25-py3-none-any.whl.

File metadata

  • Download URL: probnum-0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 319.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for probnum-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c95dfde2bed52606802d234b7072e71b52adb6fc80854ae7beac3415f8774b
MD5 0d99f25bbcc08a60dfbaad9319bf2021
BLAKE2b-256 e045ff9c3b7224f1e307812012bb3ef6364806c3d229b1a8e04a1bfd553995f6

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