Inverse Logistic / Sigmoid Function

math

Solution

If

y = 1 / (1 + exp(-x))

then its inverse is

x = ln(y / (1 - y))

Problem

What is the inverse of the sigmoid (i.e. standard logistic) function? ``` sigmoid(x) = 1 / (1 + exp(-x)) ```

Original source