Lab 25 · Lecture 25 · Numerical Optimization for Machine Learning

Optimization Lab

Minimise functions of one and two variables, watch gradient descent and Newton's method on contour maps, see why large data sets need mini-batch (stochastic) gradient descent, and train a small classifier.

Type f(x) and a bracket [a, b] containing one minimum. Each step keeps the part that must contain the minimum.