Python Stochastic Optimization Methods In Machine