Cross-validating over many hyperparameters