jax.scipy.special.logit
jax.scipy.special.logit#
- jax.scipy.special.logit = <jax._src.custom_derivatives.custom_jvp object>[source]#
Logit ufunc for ndarrays.
LAX-backend implementation of
scipy.special.logit()
.Original docstring below.
The logit function is defined as logit(p) = log(p/(1-p)). Note that logit(0) = -inf, logit(1) = inf, and logit(p) for p<0 or p>1 yields nan.