Optimization Lab

Simulating gradient descent, stochastic gradient descent, Momentum and Adam on convex and non-convex functions, with control of the learning rate and views of the loss curve, the path, convergence or divergence, and local and global minima.
How to use
  • Choose the loss function and the starting point.
  • Change the learning rate and the number of steps and watch the convergence.
  • Compare GD, Momentum and Adam on the same function.

Preparing the lab…

Lessons that use this lab