distribution#

Module path: cuqi.distribution

Classes

Beta

Multivariate beta distribution of independent random variables x_i.

CMRF

Cauchy distribution on the difference between neighboring nodes.

Cauchy

Multivariate Cauchy distribution of independent random variables.

Distribution

Abstract Base Class for Distributions.

DistributionGallery

GMRF

Gaussian Markov random field (GMRF).

Gamma

Represents a multivariate Gamma distribution characterized by shape and rate parameters of independent random variables x_i.

Gaussian

General Gaussian probability distribution.

InverseGamma

Multivariate inverse gamma distribution of independent random variables x_i.

JointDistribution

Joint distribution of multiple variables.

JointGaussianSqrtPrec

Joint Gaussian probability distribution defined by means and sqrt of precision matricies of independent Gaussians.

LMRF

Laplace distribution on the difference between neighboring nodes.

Laplace

Laplace distribution.

Lognormal

Multivariate Lognormal distribution

ModifiedHalfNormal

Represents a modified half-normal (MHN) distribution, a three-parameter family of distributions generalizing the Gamma distribution.

MultipleLikelihoodPosterior

A posterior distribution with multiple likelihoods and a single prior.

Normal

Normal probability distribution.

Posterior

Posterior probability distribution defined by likelihood and prior.

SmoothedLaplace

Smoothed Laplace distribution.

TruncatedNormal

Truncated Normal probability distribution.

UnboundedUniform

Unbounded uniform distribution. This is a special case of the Uniform distribution, where the lower and upper bounds are set to -inf and inf, respectively. This distribution is not normalizable, and therefore cannot be sampled from. It is mainly used for initializing non-informative priors. :param geometry: The geometry of the distribution. If an integer is given, it is interpreted as the dimension of the distribution. If a Geometry object is given, its par_dim attribute is used. :type geometry: int or Geometry.

Uniform

UserDefinedDistribution

Class to wrap user-defined logpdf, gradient, and/or sampling callable into CUQIpy Distribution.