int(1 / (1 + exp(-x))^s)