tripy
A package for efficient1 likelihood evaluation and sampling for Multivariate Normal distributions where the covariance matrix:
- Is Separable, i.e. can be expressed as the Kronecker product of the covariance over different dimensions (e.g. space and time);
- May have Exponential correlation (i.e. (block-) tridiagonal precision matrix) in one or more dimensions;
- Is polluted with uncorrelated scalar or vector noise.
Structure
base: Base class for problem formulation, taken from taralli. Likely to be removed in a future update.
utils: Utility functions for efficient linear algebra invovling tridiagonal and Kronecker product matrices.
loglikelihood: Functions for efficient loglikelihood evaluation.
kernels: Formulation of commonly used kernels.
sampling: Functions for efficient sampling.
Usage
TODOs
- Validation of all functions against reference implementations.
- Documentation, including examples and timing tests.
- Unit and integration testing.
- Improve this README by including mathematical notation and references.
-
In the general case, exact likelihood evaluation has O(N3) computational complexity and O(N2) memory requirements. The term "efficient" is used here to refer to the reduction of complexity and memory usage by utilizing the sparsity and Kronecker product structure of the covariance matrix. ↩
Metadata
Release files for tri-py 0.9.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 | |
|---|---|---|---|
| tri-py-0.9.0.tar.gz | 259.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tri_py-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 296.3 kB
Release files / tri-py-0.9.0.tar.gz
| Download URL | tri-py-0.9.0.tar.gz |
|---|---|
| Size | 259.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23951df3b3b7e729a415ca9b407343d64f57b044e338f5ff498570dab08960b4
|
|
BLAKE2b-256 checksum How to use checksums |
83aa379648b1d95cb386833909dfe504a0ddffb2fd582c5a3f265a75bea0e5b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|
Release files / tri_py-0.9.0-py3-none-any.whl
| Download URL | tri_py-0.9.0-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c88cfaa96f313e5f7986dbc461ef2d615fd5b40f6838b68e38da3a67bae6e0d6
|
|
BLAKE2b-256 checksum How to use checksums |
4762a7386776c7c53baf5a5f10409b94bf93f1df311c6343b24270a2f5792c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|