optimize hyperparameters in example