mxnet.gluon.probability.distributions.beta¶
Beta Distribution.
Classes
|
Create a Beta distribution object. |
- class mxnet.gluon.probability.distributions.beta.Beta(alpha, beta, validate_args=None)[source]¶
Bases:
ExponentialFamilyCreate a Beta distribution object.
- Parameters:
alpha (Tensor or scalar) – The first shape parameter
beta (Tensor or scalar) – The second shape parameter
- entropy()[source]¶
Return the entropy of a distribution. The entropy of distributions in exponential families could be computed by: H(P) = F(theta) - <theta, F(theta)’> - E_p[k(x)]
- log_prob(value)[source]¶
Returns the log of the probability density/mass function evaluated at value.
- property mean¶
Returns the mean of the distribution.
- property variance¶
Returns the variance of the distribution.