Summation
Add up the expression for every value of the index, from the bottom limit to the top.
In ML papers
means : the index runs from the value below the sign to the value above it. Sometimes the range is a set, , or left implicit, (over every valid ). Losses average a sum over examples, ; softmax's denominator sums over classes.
How to type it
| LaTeX | Shows |
|---|---|
\sum_{i=1}^{N} |
A worked example
Each term substitutes the next value of .
Common confusions
- The big is not the capital letter (Sigma (capital)), a covariance matrix.
- The index is a dummy: and are the same.
Equations that use it
- Softmax
- Cross-entropy loss
- Layer normalization
- RMSNorm
- KL divergence
- Batch normalization
- Policy gradient (REINFORCE)
- Bellman equation
- InfoNCE contrastive loss
- Perplexity
- Singular value decomposition (SVD)