PyTensor powered distributions.
Project description
PyTensor-distributions
PyTensor powered distributions
Overview
PyTensor-distributions provides a collection of core probability expressions implemented in PyTensor.
The goal of this package is to work as a unified, well tested and performant source for core probability expressions. This reduces redundancy across packages and allows other libraries to focus on providing specialized features and APIs on top of these core expressions.
The core expressions implemented in PyTensor-distributions are:
pdf: the probability density function of a distribution. (We use pdf for both discrete and continuous distributions)cdf: the cumulative distribution function of a distribution.ppf: the percent point function (inverse of cdf) of a distribution.sf: the survival function (1 - cdf) of a distribution.isf: the inverse survival function (inverse of sf) of a distribution.logpdf: the log-probability of a distribution. (We use pdf for both discrete and continuous distributions)logcdf: the log-cumulative distribution function of a distribution.logsf: the log-survival function (1 - cdf) of a distributionmean: the mean of a distribution.mode: the mode of a distribution.median: the median of a distribution.var: the variance of a distribution.std: the standard deviation of a distribution.skewness: the skewness of a distribution.kurtosis: the kurtosis of a distribution.entropy: the entropy of a distribution.rvs: the random variates of a distribution.
Some distributions may not have all of these expressions implemented.
The package follows a very minimal design, with one file per distribution and some utility files for common functions and tests. The core expressions are implemented as a collection of functions, no classes are used. This is on purpose, to keep the package as simple as possible and let other packages implement more structured APIs on top of these core expressions.
PyTensor-distributions is still in early development, and we are still adding more distributions, tests, and working on improving robustness.
Contributions
PyTensor-distributions is a community project and welcomes contributions.
Code of Conduct
We follow the PyMC Code of Conduct
Donations
PyTensor-distributions, like other PyMC projects, is a non-profit project under the NumFOCUS umbrella. If you want to finnancially support PyTensor-distributions or other PyMC projects financially, you can donate here.
Sponsors
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
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 pytensor_distributions-0.1.0.tar.gz.
File metadata
- Download URL: pytensor_distributions-0.1.0.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a566a496a51117ecd815540824be01b492a3ed80501634f5c5d804348a62a1a
|
|
| MD5 |
862ec9c56459de620f4f73bc49d09283
|
|
| BLAKE2b-256 |
5444e8253a4a093ebae3017a1dc89f3fd02d6c8de90ad526adc195b65061e575
|
Provenance
The following attestation bundles were made for pytensor_distributions-0.1.0.tar.gz:
Publisher:
publish.yml on pymc-devs/pytensor-distributions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytensor_distributions-0.1.0.tar.gz -
Subject digest:
1a566a496a51117ecd815540824be01b492a3ed80501634f5c5d804348a62a1a - Sigstore transparency entry: 926780812
- Sigstore integration time:
-
Permalink:
pymc-devs/pytensor-distributions@1616df457578c079128fc997d61b3bd4ce956706 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pymc-devs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1616df457578c079128fc997d61b3bd4ce956706 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pytensor_distributions-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pytensor_distributions-0.1.0-py3-none-any.whl
- Upload date:
- Size: 58.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cc0f61f4ec3cdabec64d298c69246bcd40932883c925556d1cc20cf7a29d753
|
|
| MD5 |
39f0f0f01f2d36c5dc7835222b16bd06
|
|
| BLAKE2b-256 |
7b6dbb6fe72a295e1a6327394aa337a62068599454f25743edaa651cfaed8d18
|
Provenance
The following attestation bundles were made for pytensor_distributions-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on pymc-devs/pytensor-distributions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytensor_distributions-0.1.0-py3-none-any.whl -
Subject digest:
7cc0f61f4ec3cdabec64d298c69246bcd40932883c925556d1cc20cf7a29d753 - Sigstore transparency entry: 926780815
- Sigstore integration time:
-
Permalink:
pymc-devs/pytensor-distributions@1616df457578c079128fc997d61b3bd4ce956706 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pymc-devs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1616df457578c079128fc997d61b3bd4ce956706 -
Trigger Event:
push
-
Statement type: