This is documentation for an old release of SciPy (version 0.13.0). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.special.expit¶
- scipy.special.expit(x[, out]) = <ufunc 'expit'>¶
Expit ufunc for ndarrays.
The expit function is defined as expit(x) = 1/(1+exp(-x)). Note that expit is the inverse logit function.
Parameters : x : ndarray
The ndarray to apply expit to element-wise.
Returns : out : ndarray
An ndarray of the same shape as x. Its entries are expit of the corresponding entry of x.
Notes
As a ufunc logit takes a number of optional keywork arguments. For more information see ufuncs