The parent note stated without proof. This note supplies the matrix-derivative machinery — the trace trick — needed to differentiate a matrix expression like with respect to a vector , the same technique reused later for ridge regression's closed form and the PCA maximum-variance derivation.
In this lesson
- Learning objectives
- Matrix derivatives
- Derivation of the normal equations
Before you start
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.