jax.random.weibull_min

Contents

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:
Return type:

Array

Returns:

A jnp.array of samples.