I think I have a "dumb" question. I have a python code that calculates sigmoid function:
def sigmoid(z):
return 1 / (1 + np.exp(-z))
I want to see what kind of graph is sigmoid function with given data, so I change my function to this:
def sigmoid(z):
s = 1 / (1 + np.exp(-z))
plt.plot(s)
plt.title("Sigmoid")
plt.show()
return s
What I get is:
The data is taken from https://www.kaggle.com/azzion/credit-card-fraud-detection-using-neural-network
So the question is: Can sigmoid function be linear with some specific parameters or maybe I'm doing something wrong?