jax.random.weibull_min#
- jax.random.weibull_min(key, scale, concentration, shape=(), dtype=<class 'float'>)[source]#
Sample from a Weibull distribution.
The values are distributed according to the probability density function:
\[f(x;\sigma,c) \propto x^{c - 1} \exp(-(x / \sigma)^c)\]on the domain \(0 < x < \infty\), where \(c > 0\) is the concentration parameter, and \(\sigma > 0\) is the scale parameter.
- Parameters:
key (ArrayLike) – a PRNG key.
scale (RealArray) – The scale parameter of the distribution.
concentration (RealArray) – The concentration parameter of the distribution.
shape (Shape) – The shape added to the parameters loc and scale broadcastable shape.
dtype (DTypeLikeFloat) – The type used for samples.
- Returns:
A jnp.array of samples.
- Return type: