Eight activation functions, one input.
Mathematica
Visit on X@mathemetica83K followers
13,630 views
Eight activation functions, one input.
A neuron sums its weighted inputs into one number z, then outputs φ(z). Here the same z sweeps every graph at once.
Step and sign jump at z = 0. Linear passes z through. Piece-wise linear ramps from 0 to 1 between −½ and ½. Logistic 1/(1 + e⁻ᶻ) and tanh bend smoothly. ReLU = max(0, z) cuts off negatives, and softplus ln(1 + eᶻ) is its smooth version.
Without a nonlinearity, stacked layers collapse into one linear map.
Comments
Comments from the original post on X (Twitter)
No comments yet
