jax.random.weibull_min#
- jax.random.weibull_min(key, scale, concentration, shape=(), dtype=<class 'float'>)[原始碼]#
從 Weibull 分佈中取樣。
這些值根據以下機率密度函數分佈
\[f(x;\sigma,c) \propto x^{c - 1} \exp(-(x / \sigma)^c)\]在域 \(0 < x < \infty\) 上,其中 \(c > 0\) 是集中參數,而 \(\sigma > 0\) 是尺度參數。
- 參數:
key (ArrayLike) – PRNG 金鑰。
scale (RealArray) – 分佈的尺度參數。
concentration (RealArray) – 分佈的集中參數。
shape (Shape) – 新增至參數 loc 和 scale 可廣播形狀的形狀。
dtype (DTypeLikeFloat) – 用於樣本的類型。
- 傳回:
jnp.array 的樣本。
- 傳回類型: