Skip to main content

Calculus and Optimization

Machine learning reduces to finding parameters that minimize a loss function. This chapter covers the mathematics of minimization: multivariable calculus, convex and non-convex optimization, and constrained optimization. The convex case is well understood, but the real difficulty lives in the non-convex and constrained settings, which is why all four sections are needed.