Python Stochastic-gradient Resources