Python Stochastic Gradient Descent Machine