You can read this story on Medium here.
newton.pycontains the implementation of the Newton optimizer.main.pyruns the main script and generates the figures in thefiguresdirectory.plot.pycontains several plot helpers.
The 6 hump camelback objective function:
A sample trajectory ending at a global minimum:
The line search at one of the optimization steps:
(red shows initial step; green shows after line search).


