Optimization Function Machine Learning