Index Ai Academy
Glossary · Phase 3 · Machine learning

Lasso

Also written: L1 regularization, L1 penalty

Regularization that adds the plain size of every weight to the loss. It pushes unhelpful weights to exactly zero, so it also picks features.

Try it now

Slide the penalty and watch the error on new points fall, then rise again when the penalty is too strong.

Learn it properly

Regularization · Penalize complexity so models generalize. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write