https://medium.com/@monocosmo77/latest-developments-around-stochastic-optimization-part3-machine-learning-291624853ba1