Python Stochastic Gradient Descent Optimizer