weibull_min#
- class braincore.random.weibull_min(a, scale=None, size=None, key=None, dtype=None)[source]#
Sample from a Weibull distribution.
The scipy counterpart is scipy.stats.weibull_min.
- Parameters:
scale – The scale parameter of the distribution.
concentration – The concentration parameter of the distribution.
shape – The shape added to the parameters loc and scale broadcastable shape.
dtype (
Union[str,type[Any],dtype,SupportsDType,None]) – The type used for samples.key (
Union[int,Array,ndarray,None]) – a PRNG key or a seed.
- Returns:
A jnp.array of samples.