The difference between sigmoid and tanh
2 min readApr 17, 2020
Sigmoid function and tanh function are two activation functions used in deep learning. Also, they look very similar to each other. In this article, I’d like to have a quick comparison.
Sigmoid function
tanh function
Difference
The difference can be seen from the picture below. Sigmoid function has a range of 0 to 1, while tanh function has a range of -1 to 1. “In fact, tanh function is a scaled sigmoid function!”