g(x) = \frac{1}{(1+\mathrm{exp}(-x))}