A smooth, S-shaped function that maps any real number to the interval , serving as the bridge between unbounded linear scores and valid probabilities.

Definition

The sigmoid (logistic) function is defined as:

Equivalently: .

Key Properties

PropertyStatement
Range
Midpoint
Symmetry
MonotonicityStrictly increasing for all
Limits,
Derivative

The symmetry property is particularly useful. In logistic-regression, it means:

so both class probabilities can be expressed through the same function.

Role in Logistic Regression

In logistic-regression, the linear combination can be any real number, but we need a probability in . The sigmoid provides exactly this mapping:

The sigmoid is the inverse of the logit function: if , then .

Shape and Behaviour

The S-shape means the function is steepest around (where it equals ) and flattens out at the extremes — saturating toward 0 and 1. Practically:

  • : is effectively 0 or 1.
  • : is roughly linear, centred on .

This saturation is important: points far from the decision boundary (large ) get near-certain probabilities, while points near the boundary get probabilities close to .

Active Recall