Greek letters

σ(z)\sigma(z) Sigma (lowercase)

Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.

In ML papers

σ\sigma has two common meanings, and papers rarely say which:

The sigmoid function when it is applied to something: σ(z)=11+e−z\sigma(z) = \frac{1}{1 + e^{-z}} squashes any number into (0,1)(0, 1). Gates in LSTMs and the output of a binary classifier use it. Some papers use σ\sigma for "any activation function".

A standard deviation when it stands alone or squared: σ2\sigma^2 is a variance, as in N(μ,σ2)\mathcal{N}(\mu, \sigma^2) or LayerNorm's σ2+ϵ\sqrt{\sigma^2 + \epsilon}.

Other meanings, by context

How to type it

LaTeXShows
\sigmaσ\sigma

A worked example

σ(0)=11+e0=0.5,σ(2)=11+e−2≈0.88\sigma(0) = \frac{1}{1 + e^{0}} = 0.5, \qquad \sigma(2) = \frac{1}{1 + e^{-2}} \approx 0.88

As a standard deviation instead: the numbers 11 and 33 have mean 22 and σ=1\sigma = 1.

Common confusions

Equations that use it

Related

Σ\SigmaSigma (capital)μ\muMutanh⁡(x)\tanh(x)Hyperbolic tangentVar⁡[X]\operatorname{Var}[X]Variance

Decode this example →