Machine Learning Based Optimization