Skip to content
Financial Machine Learning / Regularization and Model Selection

Regularization as MAP Estimation

The previous lesson introduced ridge and lasso as penalised least-squares problems — a purely optimisation-flavoured story. This note supplies the probabilistic story underneath, using the same MLE machinery from the probabilistic-interpretation lesson: both penalties turn out to be exactly what maximum a posteriori (MAP) estimation produces under a specific choice of prior on θ\theta. This reframing is not decorative — it explains why the ℓ2\ell_2 penalty shrinks smoothly while the ℓ1\ell_1 penalty produces exact zeros, in terms of the shape of a probability density rather than the shape of a constraint region.

In this lesson

  1. Learning objectives
  2. MAP estimation
  3. Ridge as MAP under a Gaussian prior
  4. The lasso as MAP under a Laplace prior
  5. Worked example

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.