Multi-objective resource optimization for large scale machine learning systems