Hyperparameter optimization sketch