Probnum
Probabilistic Numerics in Python.
Install / Use
/learn @probabilistic-numerics/ProbnumREADME
<div align="center"> <h4 align="center"> <a href="https://probnum.readthedocs.io">Home</a> | <a href="https://probnum.readthedocs.io/en/latest/tutorials.html">Tutorials</a> | <a href="https://probnum.readthedocs.io/en/latest/api.html">API Reference</a> | <a href="https://probnum.readthedocs.io/en/latest/development.html">Contributing</a> </h4> </div>
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.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
19.1kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
