Also known as a logistic function.

The sigmoid function is defined as:

Its output for any value of is in , such that:

  • for negative values of
  • for positive values of

Its output can be interpreted as a probability or confidence, so it’s commonly used for binary classification.

This can be plotted as: