Skip to content
Financial Machine Learning / Foundations: The Learning Problem and Linear Regression

Linear Regression via LMS and Gradient Descent

The empirical-risk-minimisation recipe from the previous note needs an optimiser to actually find θ\theta. This note builds the first one — gradient descent on the least-mean-squares (LMS) cost — and its stochastic variant, the workhorse optimiser reused, in one form or another, by every parametric model in this unit through backpropagation in Topic 6. It also introduces the running example — fitting a single-factor return model — carried through the rest of this topic.

In this lesson

  1. Learning objectives
  2. The LMS cost function
  3. Gradient descent
  4. 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.