Deep Learning, Machine Learning, Artificail Intelligence, Neural Networks, Activation Functions.
m.exp(-x)) / (m.exp(x) + m.exp(-x)) values_of_tanh = [] values_of_x = [] for i in range(-500,500,1): i = i*0.001 values_of_x.append(i) values_of_tanh.append(tanh(i)) plt.plot( values_of_x ,values_of_tanh) plt.xlabel("values of x") plt.ylabel("value of tanh") 3. Softmax function Softmax activation