This is a logistic sigmoid function:
I know x. How can I calculate F(x
Another way by transforming the tanh function:
tanh
sigmoid = lambda x: .5 * (math.tanh(.5 * x) + 1)