mxnet.gluon.probability.distributions.half_cauchy

Half-cauchy Distribution

Classes

HalfCauchy([scale, validate_args])

Create a half cauchy object, where

class mxnet.gluon.probability.distributions.half_cauchy.HalfCauchy(scale=1.0, validate_args=None)[source]

Bases: TransformedDistribution

Create a half cauchy object, where

X ~ Cauchy(0, scale) Y = |X| ~ HalfCauchy(scale)

Parameters:

scale (Tensor or scalar, default 1) – Scale of the full Cauchy distribution.

cdf(value)[source]

Compute the cumulative distribution function(CDF) p(Y < value)

entropy()[source]

Returns entropy of distribution.

icdf(value)[source]

Returns the inverse cumulative density/mass function evaluated at value.

log_prob(value)[source]

Compute log-likelihood of value with log_det_jacobian and log-likelihood of the base distribution according to the following conclusion:

Given that Y = T(X), log(p(y)) = log(p(x)) - log(|dy/dx|)

property mean

Returns the mean of the distribution.

property variance

Returns the variance of the distribution.