Maths for ML / Notation

λ\lambda

lambda

Greek letters and conventionsBeginner

Say it “lambda”

Conventionally a regularization strength — or an eigenvalue in linear algebra.

Example

L+λ∥w∥22L + \lambda\lVert\mathbf{w}\rVert_2^2

Weight decay: penalize large weights.

In code

weight_decay = 1e-2
torch.optim.AdamW(params, weight_decay=1e-2)

Where you’ll see it in ML

Ridge/L2, weight decay, Lagrange multipliers, eigenvalues.

Don’t confuse it with

Lessons that use it

← All 94 symbols