Python Stochastic Optimization Algorithms In Machine