mxnet.gluon.probability.distributions.weibull

Weibull Distribution.

Classes

Weibull(concentration[, scale, validate_args])

Create a two parameter Weibull distribution object.

class mxnet.gluon.probability.distributions.weibull.Weibull(concentration, scale=1.0, validate_args=None)[source]

Bases: TransformedDistribution

Create a two parameter Weibull distribution object.

Parameters:
  • concentration (Tensor or scalar) – Concentration/shape parameter of the distribution.

  • scale (Tensor or scalar, default 1) – scale parameter of the distribution.

entropy()[source]

Returns entropy of distribution.

property mean

Returns the mean of the distribution.

sample(size=None)[source]

Generates a shape shaped sample.

sample_n(size=None)[source]

Generate samples of (n + parameter_shape) from the distribution.

property variance

Returns the variance of the distribution.