Important function in machine learning, used to model probabilities. The logistic function is defined as:
$$f(x) = \frac{1}{1 + e^{-x}} $$
It is also known as the sigmoid function. The logistic function is used to model probabilities, as it maps any real value to the range $[0, 1]$. It is also used in neural networks as an activation function.