mxnet.gluon.probability.distributions.half_cauchy¶
Half-cauchy Distribution
Classes
|
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.
- 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.