AI engineering glossary · Linear algebra

What is l1 norm?

L1 norm (also called Manhattan norm, Taxicab norm): The size of a vector measured by adding up the absolute values of its components. It gives the distance you would walk along axes only, and as a penalty it pushes many weights to exactly zero, producing sparse models.

Level: beginnerTopic: Linear algebra

L1 norm: an example

||[3, -4, 2]||_1 = 3 + 4 + 2 = 9.

Related terms

More Linear algebra terms

Where you learn it

L1 norm is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.