Stochastic Gradient Descent Python Code Run