https://medium.com/@monocosmo77/how-stochastic-gradient-descent-works-part2-machine-learning-dc464ae9067c