Função logística do Python
import numpy as np
def logistic(x):
return 1 / (1 + np.exp(-x))
Famous Frog
import numpy as np
def logistic(x):
return 1 / (1 + np.exp(-x))