distributions (pmrf.distributions)
Probability distribution classes and factories.
Can be used for random parameters in pmrf.parameters.
These are (mostly) re-exports from the distreqx library, with the goal of the covering the most common applications. For more advanced use-cases, simply use distreqx directly instead.
Classes
Base class for all distreqx distributions. |
|
|
Normal distribution with location loc and scale parameters. |
|
Uniform distribution with low and high parameters. |
|
Gamma distribution with parameters concentration and rate. |
|
Distribution of a random variable transformed by a bijective function. |
|
LogNormal distribution parameterized by loc and scale of the underlying Normal. |
|
Truncated Normal distribution with loc, scale, low, and high parameters. |
|
Joint distribution over a PyTree of statistically independent distributions. |
Functions
|
Create a Uniform distribution defined by center and width. |
|
Create a Normal distribution defined by relative standard deviation. |
|
Create a symmetric Truncated Normal distribution defined by relative standard deviation and truncated at a specified number of standard deviations from the mean. |
|
Attempts to return a truncated version of the distribution. |