https://medium.com/@monocosmo77/use-of-jensen-inequalities-in-machine-learning-optimization-part3-613eb7b3184f