def sigmoid(x): return 1/(1 + math.exp(-x)) output = sigmoid(value)