6.3 Logistic Function
The logistic function, also known as the sigmoid function, is a
mathematical function that transforms any value in the domain (, -
) to a number between 0 and 1. The mathematical equation of the logistic
function is:
(6.1)
In this equation, is the sigmoid function,
is the input to the sigmoid function and e is a mathematical constant
approximately equal to 2.71828.
The shape of the logistic function is an S-shaped curve, which can be
visualised in the figure below (Fig 6.6). The sigmoid curve depicts the relationship between the input (x-axis) and the corresponding output
(
) (y-axis).