Hyperbolic tangent: Difference between revisions
Appearance
Add thumbnail plot (via update-page on MediaWiki MCP Server) |
Plain-text caption (math not rendered in file captions) (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
[[Category:Activation function]] | [[Category:Activation function]] | ||
[[File:Tanh-activation-function.svg|thumbnail| | [[File:Tanh-activation-function.svg|thumbnail|tanh(z) for z ∈ [−4.4, 4.4], with the asymptotes at ±1 and the zero crossing tanh(0) = 0 marked]] | ||
'''Hyperbolic tangent''' is an [[activation function]]. | '''Hyperbolic tangent''' is an [[activation function]]. | ||
Revision as of 11:51, 17 November 2026
Image: Rong Martin-Siebler ZHOU and Veramiko AI · CC BY-SA 4.0
Hyperbolic tangent is an activation function.
Definition
$$ \tanh(z)=\frac{e^{z}-e^{-z}}{e^{z}+e^{-z}}. $$
Properties
| Output | |
|---|---|
| Range | $(-1,1)$ |
| Center | 0 |