jax.scipy.stats.logistic.logpdf#
- jax.scipy.stats.logistic.logpdf(x, loc=0, scale=1)[source]#
Logistic log probability distribution function.
JAX implementation of
scipy.stats.logistic
logpdf
.The logistic probability distribution function is given by
\[f(x) = \frac{e^{-x}}{(1 + e^{-x})^2}\]- Parameters:
x (Array | ndarray | bool_ | number | bool | int | float | complex) – arraylike, value at which to evaluate the PDF
a – arraylike, distribution shape parameter
loc (Array | ndarray | bool_ | number | bool | int | float | complex) – arraylike, distribution offset parameter
scale (Array | ndarray | bool_ | number | bool | int | float | complex) – arraylike, distribution scale parameter
- Returns:
array of logpdf values.
- Return type: