The Application of Optimization Techniques in Machine Learning