The logistic function computes
a product of probabilities.
because p(s=0)  =  1 - p(s=1)