Sigmoid

Applies to: python, general

A sigmoid maps real numbers to values between 0 and 1, often interpreted as probabilities.

sigmoid = 1 / (1 + np.exp(-x))

See also: activation-function, logistic-regression