How to calculate
Evaluate σ(x) = 1/(1 + e⁻ˣ). Positive x gives an output above 0.5, and negative x gives an output below 0.5. The curve is centered at x = 0.
Worked example
Use Input x 0. The result is 0.5.
Input and result notes
The exact value is between 0 and 1 for finite x. Large magnitudes can round to an endpoint.
SciPy logistic sigmoid definition