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