Optimization Algorithms For Machine Learning Examples