Hyperparameter tuning with ensemble methods