Tanh
Problem
The hyperbolic tangent is another commonly used activation function in neural networks. The function is given by tanh(x)=ex−e−xex+e−x Show that the tanh function is related to the sigmoid function by tanh(x)=2σ(2x)−1.
Practice problems in Machine Learning.
The hyperbolic tangent is another commonly used activation function in neural networks. The function is given by tanh(x)=ex−e−xex+e−x Show that the tanh function is related to the sigmoid function by tanh(x)=2σ(2x)−1.