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 (Array | ndarray | bool_ | number | bool | int | float | complex) – a PRNG key.
scale (Array | ndarray | bool_ | number | bool | int | float | complex) – The scale parameter of the distribution.
concentration (Array | ndarray | bool_ | number | bool | int | float | complex) – The concentration parameter of the distribution.
shape (Sequence[int]) – The shape added to the parameters loc and scale broadcastable shape.
dtype (str | type[Any] | dtype | SupportsDType) – The type used for samples.
- Returns:
A jnp.array of samples.
- Return type: