Stochastic Gradient Descent In Python