LASSO uses L1 to do feature selection by driving coefficients to exactly zero

Why do some numbers disappear when solving complex problems?

Image: Shailaja.k, CC BY-SA 3.0, via Wikimedia Commons

LASSO uses L1 to do feature selection by driving coefficients to exactly zero

Why do some numbers disappear when solving complex problems?

Imagine you're trying to balance a scale with weights representing different features of a dataset. Some weights are too heavy and throw off the balance.

LASSO helps by making some weights lighter or even removing them entirely, simplifying the balance without losing the overall picture.

Example

If you have weights of 1, 2, 3, and 4, LASSO might remove the 4, keeping just 1, 2, and 3 to balance the scale more effectively.

Remember this

LASSO uses L1 norm to drive some feature coefficients to zero, simplifying models.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath