The sigmoid function squashes any real number into the range (0, 1), following the formula σ(x) = 1/(1 + e^(-x)). It is used in logistic regression for binary classification and as an activation function in neural networks.
Interactive lesson with visualizations and practice problems
Part of the Logistic Regression lesson in Mathematics Foundations