L1 norm
The sum of the absolute values of the entries.
In ML papers
. As a penalty (lasso, L1 regularization) it pushes weights to exactly zero, giving sparse models. As a distance it is the "Manhattan" distance, and the mean absolute error is an L1 loss.
How to type it
| LaTeX | Shows |
|---|---|
\|\mathbf{x}\|_1 |
A worked example
The L2 norm of the same vector is 5.