Module 04 · Lesson 9 of 11Pro
Lagrange multipliers: the best answer within limits
- Level
- Intermediate
- Reading time
- 16 min
When you finish this page you can
- Find the best answer under one fixed limit by making the gradient of the goal parallel to the gradient of the limit.
- Write the Lagrangian for a budget problem, solve its equations by hand and check the answer in NumPy.
- Read the multiplier as the price of the limit, and use it instead of the average return to judge a bigger budget.
- Connect a weight budget to L2 regularization: the penalty strength is the multiplier.