Master hyperparameter optimization for ML