https://medium.com/@monocosmo77/applications-of-hessian-estimates-part3-machine-learning-220e68435158