https://medium.com/@monocosmo77/research-on-non-convex-potentials-part5-machine-learning-optimization-f498ea2210a2