Hyperbolic tangent (tanh)
maths
machine-learning
Hyperbolic tangent
The hyperbolic tangent function maps $tanh: \mathbb{R} \rightarrow (-1,1)$ by
$$tanh(x) = \frac{e^x - e^{-x}}{e^x + e^{-x}}$$it is the analogous function to tan in hyperbolic space.