Skip to content
Financial Machine Learning / Regularization and Model Selection

Ridge, Lasso, and Elastic Net

A quant fitting a factor-exposure regression with 40 candidate factors and 200 observations will get a least-squares fit that looks great in-sample and falls apart out-of-sample — too many free parameters chasing too little data, the overfitting failure mode named back in Topic 1. This note gives the standard fix: shrinkage, penalising large coefficients directly in the objective being minimised, trading a small amount of bias for a often much larger reduction in variance.

In this lesson

  1. Learning objectives
  2. Ridge regression
  3. The lasso
  4. Elastic net
  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.