σ\sigma

σ — standard deviation, singular value, or sigmoid

Read "sigma". Usually it is the standard deviation: a typical distance of values from their average. With a numbered subscript (section 20.2) it is a singular value, and written as a function, σ(z), it is the sigmoid.

σ=Var⁡\sigma = \sqrt{\operatorname{Var}}. Taking the square root puts the spread back in the same units as the data, so you can compare it with the values themselves. σ2\sigma^2 is the variance.

In Section 20.2 the same letter is used for singular values σ1≥σ2≥…\sigma_1 \ge \sigma_2 \ge \dots, which say how strongly a matrix stretches along each of its main directions. The two meanings are unrelated; a numbered subscript (σ1\sigma_1, σi\sigma_i) usually means a singular value.

Written as a function, σ(z)=11+e−z\sigma(z) = \frac{1}{1 + e^{-z}} is the sigmoid, which squashes any number into the range 0 to 1. That is its meaning in Swish, z⋅σ(βz)z \cdot \sigma(\beta z), in section 15.4: the sigmoid acts as a soft on/off switch on zz.

Example

{2,4,6}:  μ=4,  σ2=4+0+43≈2.67,  σ≈1.63\{2, 4, 6\}: \; \mu = 4, \; \sigma^2 = \tfrac{4+0+4}{3} \approx 2.67, \; \sigma \approx 1.63

Square the distances from the mean, average them to get the variance, then take the square root.

Where the course uses it

Related terms