mxnet.gluon.probability.distributions.studentT¶
Student T distribution
Classes
|
Create a studentT distribution object, often known as t distribution. |
- class mxnet.gluon.probability.distributions.studentT.StudentT(df, loc=0.0, scale=1.0, validate_args=None)[source]¶
Bases:
DistributionCreate a studentT distribution object, often known as t distribution.
- Parameters:
df (Tensor or scalar) – degree of freedom.
loc (Tensor or scalar, default 0) – mean of the distribution.
scale (Tensor or scalar, default 1) – scale of the distribution
- broadcast_to(batch_shape)[source]¶
Returns a new distribution instance with parameters expanded to batch_shape. This method calls numpy.broadcast_to on the parameters.
- Parameters:
batch_shape (Tuple) – The batch shape of the desired distribution.
- 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.