https://medium.com/@monocosmo77/behavour-of-weakly-convex-functions-in-machine-learning-scenarios-part6-84e5c9735ab3