Skip to main content

expit

Function expit 

Source
pub fn expit<T: Float>(x: T) -> T
Expand description

Expit (a.k.a. logistic sigmoid) function, $1 / (1 + e^{-x})$

Corresponds to scipy.special.expit. Translated into pure Rust from xsf.

ยงSee also